[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Groff-commit] groff ChangeLog aclocal.m4 configure.ac configu...
From: |
Werner LEMBERG |
Subject: |
[Groff-commit] groff ChangeLog aclocal.m4 configure.ac configu... |
Date: |
Thu, 07 Oct 2004 07:07:20 -0400 |
CVSROOT: /cvsroot/groff
Module name: groff
Branch:
Changes by: Werner LEMBERG <address@hidden> 04/10/07 10:59:39
Modified files:
. : ChangeLog aclocal.m4 configure.ac configure
Makefile.in
Log message:
* aclocal.m4 (GROFF_GHOSTSCRIPT_PATH): New macro.
* configure.ac: Call GROFF_GHOSTSCRIPT_PATH.
* configure: Regenerated.
* Makefile.in (GHOSTSCRIPT): New variable.
(MDEFINES): Add GHOSTSCRIPT.
CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/groff/groff/ChangeLog.diff?tr1=1.742&tr2=1.743&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/groff/groff/aclocal.m4.diff?tr1=1.42&tr2=1.43&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/groff/groff/configure.ac.diff?tr1=1.27&tr2=1.28&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/groff/groff/configure.diff?tr1=1.58&tr2=1.59&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/groff/groff/Makefile.in.diff?tr1=1.76&tr2=1.77&r1=text&r2=text
Patches:
Index: groff/ChangeLog
diff -u groff/ChangeLog:1.742 groff/ChangeLog:1.743
--- groff/ChangeLog:1.742 Thu Oct 7 10:49:37 2004
+++ groff/ChangeLog Thu Oct 7 10:59:34 2004
@@ -1,3 +1,14 @@
+2004-10-03 Gaius Mulley <address@hidden>
+
+ * aclocal.m4 (GROFF_GHOSTSCRIPT_PATH): New macro.
+
+ * configure.ac: Call GROFF_GHOSTSCRIPT_PATH.
+
+ * configure: Regenerated.
+
+ * Makefile.in (GHOSTSCRIPT): New variable.
+ (MDEFINES): Add GHOSTSCRIPT.
+
2004-10-03 Werner LEMBERG <address@hidden>
* INSTALL.gen: Updated (taken from texinfo CVS).
Index: groff/Makefile.in
diff -u groff/Makefile.in:1.76 groff/Makefile.in:1.77
--- groff/Makefile.in:1.76 Thu Jun 3 06:24:23 2004
+++ groff/Makefile.in Thu Oct 7 10:59:38 2004
@@ -43,6 +43,10 @@
# world).
address@hidden@
+# The name of the ghostscript program. Normally, gs, on GNU/Linux
+# but it might be different on cygwin systems.
address@hidden@
+
# Normally the Postscript driver, grops, produces output that conforms
# to version 3.0 of the Adobe Document Structuring Conventions.
# Unfortunately some spoolers and previewers can't handle such output.
@@ -303,6 +307,8 @@
# -DRETSIGTYPE=int if signal handlers return int not void
# -DIS_EBCDIC_HOST if the host's encoding is EBCDIC
# -DPAGEA4 if the the printer's page size is A4
+# -DGHOSTSCRIPT=gs the name (and directory if required) of the
+# ghostscript program
address@hidden@
# Include
@@ -400,6 +406,7 @@
"OBJEXT=$(OBJEXT)" \
"OTHERDEVDIRS=$(OTHERDEVDIRS)" \
"PAGE=$(PAGE)" \
+ "GHOSTSCRIPT=$(GHOSTSCRIPT)" \
"PERLPATH=$(PERLPATH)" \
"PSPRINT=$(PSPRINT)" \
"PURIFY=$(PURIFY)" \
@@ -706,7 +713,6 @@
$(exampledir) $(htmldocdir) $(docdir) \
$(libprogramdir) $(libdir)
-
.PHONY: check
check:
Index: groff/aclocal.m4
diff -u groff/aclocal.m4:1.42 groff/aclocal.m4:1.43
--- groff/aclocal.m4:1.42 Thu Jun 3 06:24:24 2004
+++ groff/aclocal.m4 Thu Oct 7 10:59:37 2004
@@ -124,6 +124,12 @@
fi
AC_SUBST([pnmtops_nosetpage])])
+# Check location of `gs'.
+
+AC_DEFUN([GROFF_GHOSTSCRIPT_PATH],
+ [AC_PATH_TOOL(GHOSTSCRIPT, gs gsos2, missing)
+ AC_SUBST(GHOSTSCRIPT)])
+
# GROFF_CSH_HACK(if hack present, if not present)
AC_DEFUN([GROFF_CSH_HACK],
Index: groff/configure
diff -u groff/configure:1.58 groff/configure:1.59
--- groff/configure:1.58 Thu Jun 3 06:24:24 2004
+++ groff/configure Thu Oct 7 10:59:37 2004
@@ -531,7 +531,7 @@
# include <unistd.h>
#endif"
-ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME
PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix
program_transform_name bindir sbindir libexecdir datadir sysconfdir
sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir
build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS CC CFLAGS
LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CXX CXXFLAGS ac_ct_CXX TTYDEVDIRS
OTHERDEVDIRS CPP X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS XDEVDIRS XPROGDIRS
XLIBDIRS appresdir LPR LP LPQ PSPRINT DVIPRINT PERLPATH YACC RANLIB
ac_ct_RANLIB INSTALL_INFO INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA LN_S
SH_SCRIPT_SED_CMD GREP EGREP LIBC LIBM LIBOBJS BROKEN_SPOOLER_FLAGS PAGE g
sys_tmac_prefix tmac_wrap GROFF_PATH_SEPARATOR pnmcut pnmcrop pnmtopng psselect
pnmtops gs make_html make_install_html pnmtops_nosetpage LTLIBOBJS'
+ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME
PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix
program_transform_name bindir sbindir libexecdir datadir sysconfdir
sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir
build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS CC CFLAGS
LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CXX CXXFLAGS ac_ct_CXX TTYDEVDIRS
OTHERDEVDIRS CPP X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS XDEVDIRS XPROGDIRS
XLIBDIRS appresdir LPR LP LPQ PSPRINT DVIPRINT PERLPATH YACC RANLIB
ac_ct_RANLIB INSTALL_INFO INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA LN_S
SH_SCRIPT_SED_CMD GREP EGREP LIBC LIBM LIBOBJS BROKEN_SPOOLER_FLAGS PAGE g
sys_tmac_prefix tmac_wrap GROFF_PATH_SEPARATOR pnmcut pnmcrop pnmtopng psselect
pnmtops gs make_html make_install_html pnmtops_nosetpage GHOSTSCRIPT
ac_pt_GHOSTSCRIPT LTLIBOBJS'
ac_subst_files=''
# Initialize some variables set by options.
@@ -9989,6 +9989,106 @@
pnmtops_nosetpage="pnmtops"
fi
+if test -n "$ac_tool_prefix"; then
+ # Extract the first word of "${ac_tool_prefix}gs gsos2", so it can be a
program name with args.
+set dummy ${ac_tool_prefix}gs gsos2; ac_word=$2
+echo "$as_me:$LINENO: checking for $ac_word" >&5
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
+if test "${ac_cv_path_GHOSTSCRIPT+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ case $GHOSTSCRIPT in
+ [\\/]* | ?:[\\/]*)
+ ac_cv_path_GHOSTSCRIPT="$GHOSTSCRIPT" # Let the user override the test with
a path.
+ ;;
+ *)
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_path_GHOSTSCRIPT="$as_dir/$ac_word$ac_exec_ext"
+ echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+done
+
+ ;;
+esac
+fi
+GHOSTSCRIPT=$ac_cv_path_GHOSTSCRIPT
+
+if test -n "$GHOSTSCRIPT"; then
+ echo "$as_me:$LINENO: result: $GHOSTSCRIPT" >&5
+echo "${ECHO_T}$GHOSTSCRIPT" >&6
+else
+ echo "$as_me:$LINENO: result: no" >&5
+echo "${ECHO_T}no" >&6
+fi
+
+fi
+if test -z "$ac_cv_path_GHOSTSCRIPT"; then
+ ac_pt_GHOSTSCRIPT=$GHOSTSCRIPT
+ # Extract the first word of "gs gsos2", so it can be a program name with
args.
+set dummy gs gsos2; ac_word=$2
+echo "$as_me:$LINENO: checking for $ac_word" >&5
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
+if test "${ac_cv_path_ac_pt_GHOSTSCRIPT+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ case $ac_pt_GHOSTSCRIPT in
+ [\\/]* | ?:[\\/]*)
+ ac_cv_path_ac_pt_GHOSTSCRIPT="$ac_pt_GHOSTSCRIPT" # Let the user override
the test with a path.
+ ;;
+ *)
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_path_ac_pt_GHOSTSCRIPT="$as_dir/$ac_word$ac_exec_ext"
+ echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+done
+
+ ;;
+esac
+fi
+ac_pt_GHOSTSCRIPT=$ac_cv_path_ac_pt_GHOSTSCRIPT
+
+if test -n "$ac_pt_GHOSTSCRIPT"; then
+ echo "$as_me:$LINENO: result: $ac_pt_GHOSTSCRIPT" >&5
+echo "${ECHO_T}$ac_pt_GHOSTSCRIPT" >&6
+else
+ echo "$as_me:$LINENO: result: no" >&5
+echo "${ECHO_T}no" >&6
+fi
+
+ if test "x$ac_pt_GHOSTSCRIPT" = x; then
+ GHOSTSCRIPT="missing"
+ else
+ if test "$build" != "$host"; then
+ { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect
cross-tools
+whose name does not start with the host triplet. If you think this
+configuration is useful to you, please write to address@hidden" >&5
+echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
+whose name does not start with the host triplet. If you think this
+configuration is useful to you, please write to address@hidden" >&2;}
+ fi
+ GHOSTSCRIPT=$ac_pt_GHOSTSCRIPT
+ fi
+else
+ GHOSTSCRIPT="$ac_cv_path_GHOSTSCRIPT"
+fi
+
+
ac_config_files="$ac_config_files stamp-h"
@@ -10649,6 +10749,8 @@
s,@make_html@,$make_html,;t t
s,@make_install_html@,$make_install_html,;t t
s,@pnmtops_nosetpage@,$pnmtops_nosetpage,;t t
+s,@GHOSTSCRIPT@,$GHOSTSCRIPT,;t t
+s,@ac_pt_GHOSTSCRIPT@,$ac_pt_GHOSTSCRIPT,;t t
s,@LTLIBOBJS@,$LTLIBOBJS,;t t
CEOF
Index: groff/configure.ac
diff -u groff/configure.ac:1.27 groff/configure.ac:1.28
--- groff/configure.ac:1.27 Thu Jun 3 06:24:25 2004
+++ groff/configure.ac Thu Oct 7 10:59:37 2004
@@ -92,6 +92,7 @@
GROFF_TARGET_PATH_SEPARATOR
GROFF_HTML_PROGRAMS
GROFF_PNMTOPS_NOSETPAGE
+GROFF_GHOSTSCRIPT_PATH
AC_CONFIG_FILES([stamp-h], [echo timestamp > stamp-h])
AC_CONFIG_FILES([Makefile doc/Makefile])
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Groff-commit] groff ChangeLog aclocal.m4 configure.ac configu...,
Werner LEMBERG <=