]> git.pld-linux.org Git - packages/enscript.git/blob - enscript-ac_fixes.patch
85b1cd15eae774504c448d7c0c06dee7d6e2cad0
[packages/enscript.git] / enscript-ac_fixes.patch
1 --- enscript-1.6.2/configure.in.orig    Tue Dec  8 07:57:44 1998
2 +++ enscript-1.6.2/configure.in Wed Mar 20 17:39:38 2002
3 @@ -8,25 +8,9 @@
4  
5  AC_REVISION($Revision$)
6  
7 -AM_PROG_INSTALL
8 +AC_PROG_INSTALL
9  
10 -AC_ARG_WITH(cc,
11 -[  --with-cc(=CC)        use system's native compiler (or compiler CC)],
12 -  if test "X$withval" != "Xno"; then
13 -    if test "X$withval" = "Xyes"; then
14 -      CC='cc'
15 -    else
16 -      CC=$withval
17 -    fi
18 -    CFLAGS="$CFLAGS -I/usr/local/include"
19 -    LDFLAGS="$LDFLAGS -L/usr/local/lib"
20 -    echo "using compiler CC=$CC"
21 -  fi
22 -)
23 -
24 -if test "X$CC" = "X"; then
25 -  AC_PROG_CC
26 -fi
27 +AC_PROG_CC
28  
29  AC_ISC_POSIX
30  AM_C_PROTOTYPES
31 @@ -74,14 +58,6 @@
32  AC_PROG_YACC
33  AM_PROG_LEX
34  
35 -AC_ARG_ENABLE(debug,
36 -[  --enable-debug        enable debugging], [
37 -  echo enabling debugging
38 -  if test -n "$GCC"; then
39 -    CFLAGS="$CFLAGS -Wall"
40 -  fi
41 -])
42 -
43  dnl Define the default output media.
44  
45  AC_ARG_WITH(media,
46 @@ -147,10 +123,6 @@
47  
48  dnl substitutions
49  
50 -AC_SUBST(CFLAGS)
51 -AC_SUBST(LDFLAGS)
52 -AC_SUBST(LIBOBJS)
53 -
54  AC_OUTPUT([Makefile \
55         compat/Makefile \
56         afm/Makefile \
This page took 0.084455 seconds and 2 git commands to generate.