summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-text/a2ps/files/a2ps-4.13-autoconf-gentoo.diff')
-rw-r--r--app-text/a2ps/files/a2ps-4.13-autoconf-gentoo.diff62
1 files changed, 58 insertions, 4 deletions
diff --git a/app-text/a2ps/files/a2ps-4.13-autoconf-gentoo.diff b/app-text/a2ps/files/a2ps-4.13-autoconf-gentoo.diff
index 02ab222b2f93..63b381007540 100644
--- a/app-text/a2ps/files/a2ps-4.13-autoconf-gentoo.diff
+++ b/app-text/a2ps/files/a2ps-4.13-autoconf-gentoo.diff
@@ -10,15 +10,69 @@ diff -urN a2ps-4.13.ORIG a2ps-4.13
AC_OUTPUT(Makefile ogonkify.in
doc/Makefile
m4/Makefile)
-diff -urN a2ps-4.13.ORIG a2ps-4.13
---- a2ps-4.13.ORIG/configure.in 2000-01-07 21:19:55.000000000 +0900
-+++ a2ps-4.13/configure.in 2003-09-16 06:33:29.000000000 +0900
+diff -urN a2ps-4.13.ORIG/configure.in a2ps-4.13/configure.in
+--- a2ps-4.13.ORIG/configure.in 2003-10-28 15:15:26.000000000 +0900
++++ a2ps-4.13/configure.in 2003-10-31 02:50:00.000000000 +0900
@@ -82,7 +82,7 @@
AC_TYPE_PID_T
AC_TYPE_SIGNAL
AC_STRUCT_TM
-AC_CHECK_MEMBERS((struct passwd.pw_gecos),,,
-+dnl AC_CHECK_MEMBERS((struct passwd.pw_gecos),,,
++AC_CHECK_MEMBERS([struct passwd.pw_gecos], , ,
[#if HAVE_PWD_H
# include <pwd.h>
#endif])
+@@ -149,7 +149,7 @@
+ # Needed checks for tinyterm.[ch]
+ ad_TINYTERM_CHECKS
+
+-AC_CHECK_DECLS((fputs, strlen, strtoul, strtoull))
++AC_CHECK_DECLS([fputs, strlen, strtoul, strtoull])
+
+ # Internationalization.
+ AM_GNU_GETTEXT
+@@ -288,7 +288,7 @@
+ # Nice special printers
+ ########################
+ # Look for GV or Ghostview
+-ad_CHECK_PROGS((gv, ghostview))
++ad_CHECK_PROGS(gv ghostview)
+ if test "$COM_gv$COM_ghostview" = "##"; then
+ COM_DISPLAY="#"
+ fi
+@@ -301,7 +301,7 @@
+ ad_CHECK_PROG(gzip,
+ [a2ps works better with gzip.
+ Consider fetching gzip at any ftp site proposing GNU programs])
+-ad_CHECK_PROGS((bzip, bzip2))
++ad_CHECK_PROGS(bzip bzip2)
+
+ # DVI delegation
+ ad_CHECK_PROG(dvips)
+@@ -310,7 +310,7 @@
+ ad_CHECK_PROG(convert)
+
+ # PDF delegation
+-ad_CHECK_PROGS((acroread, pdf2ps))
++ad_CHECK_PROGS(acroread pdf2ps)
+ COM_acroread4='#'
+ AC_SUBST(COM_acroread4)
+ # If we have acroread, is it a version which supports -shrink etc.?
+@@ -328,7 +328,7 @@
+ fi
+
+ # Outputting PDF
+-ad_CHECK_PROGS((distill, ps2pdf))
++ad_CHECK_PROGS(distill ps2pdf)
+ test "$COM_distill$COM_ps2pdf" = "##" && COM_PS2PDF="#"
+ AC_SUBST(COM_PS2PDF)
+
+@@ -341,7 +341,7 @@
+ Consider fetching groff at any ftp site proposing GNU programs])
+
+ # Texinfo delegation
+-ad_CHECK_PROGS((makeinfo, tex, latex))
++ad_CHECK_PROGS(makeinfo tex latex)
+ COM_TEXI="$COM_tex$COM_makeinfo$COM_dvips"
+ COM_LATEX="$COM_latex$COM_dvips"
+ AC_SUBST(COM_TEXI)