]> git.pld-linux.org Git - packages/xdelta.git/blame - xdelta-ac_fixes.patch
- added the unresolved.patch
[packages/xdelta.git] / xdelta-ac_fixes.patch
CommitLineData
6ff03f20 1--- xdelta-1.1.3/configure.in.orig Mon Sep 24 08:59:17 2001
2+++ xdelta-1.1.3/configure.in Tue Sep 25 20:07:36 2001
3@@ -1,4 +1,4 @@
4-dnl -*-Mode: C; comment-start: "dnl "-*-
5+ nl -*-Mode: C; comment-start: "dnl "-*-
6 dnl Process this file with autoconf to produce a configure script.
7 AC_REVISION([configure.in,v 1.2 1998/10/03 00:17:50 jmacd Exp])dnl
8 AC_INIT(xdelta.c)
9@@ -9,56 +9,9 @@
2a282a8d 10
6ff03f20 11 AM_MAINTAINER_MODE
2a282a8d 12
6ff03f20 13-DEBUGFLAG=
14-PROFILEFLAG=
15-
2a282a8d 16-AC_ARG_ENABLE(debug, [ --enable-debug turn on debugging [default=no]])
6ff03f20 17-AC_ARG_ENABLE(profile, [ --enable-profile turn on profiling [default=no]])
18-
19-TMPCFLAGS="$CFLAGS"
20-CFLAGS=
2a282a8d 21-
22 AC_PROG_CC
23 AC_PROG_CPP
24
6ff03f20 25-CFLAGS=$TMPCFLAGS
26-
2a282a8d 27-changequote(,)dnl
28-if test "x$GCC" = "xyes"; then
29- case " $CFLAGS " in
30- *[\ \ ]-Wall[\ \ ]*) ;;
31- *) CFLAGS="$CFLAGS -Wall" ;;
32- esac
33-
34- if test "x$enable_debug" = "xyes"; then
35- DEBUGFLAG="-g"
36- fi
37-
6ff03f20 38- if test "x$enable_profile" = "xyes"; then
39- PROFILEFLAG="-pg"
40- fi
41-
2a282a8d 42- if test -n "$DEBUGFLAG"; then
43- case " $CFLAGS " in
44- *[\ \ ]$DEBUGFLAG[\ \ ]*) ;;
45- *) CFLAGS="$DEBUGFLAG $CFLAGS" ;;
46- esac
47- else
48- case " $CFLAGS " in
49- *[\ \ ]-O[0-9\ \ ]*) ;;
50- *) CFLAGS="$CFLAGS -O3" ;;
51- esac
52- fi
53-
6ff03f20 54- if test -n "$PROFILEFLAG"; then
55- case " $CFLAGS " in
56- *[\ \ ]$PROFILEFLAG[\ \ ]*) ;;
57- *) CFLAGS="$PROFILEFLAG $CFLAGS" ;;
58- esac
59- fi
2a282a8d 60-fi
61-changequote([,])dnl
62-
63 AM_PROG_LIBTOOL
64 AC_HEADER_STDC
65 AC_PROG_MAKE_SET
This page took 0.08325 seconds and 4 git commands to generate.