]> git.pld-linux.org Git - packages/cfl.git/blame - cfl-ac.patch
- tabs in preamble
[packages/cfl.git] / cfl-ac.patch
CommitLineData
1a679f19 1--- cfl-0.8.0.orig/configure.in 2003-04-25 16:35:31.000000000 +0200
2+++ cfl-0.8.0.new/configure.in 2004-06-27 19:57:01.000000000 +0200
3@@ -40,7 +40,16 @@
af0a09c4 4 AC_HEADER_STDC
1a679f19 5 AC_CHECK_HEADERS([stddef.h])
af0a09c4 6 AC_CHECK_HEADERS([stdlib.h string.h unistd.h])
7-AC_CHECK_HEADER(gdsl.h, [], AC_CHECK_HEADER(gdsl/gdsl.h, [CFLAGS="-I/usr/local/include/gdsl $CFLAGS"], AC_MSG_ERROR([Cannot find GDSL header.])))
8+AC_CHECK_HEADER(gdsl.h, ,
9+ [ AC_CHECK_HEADER(gdsl/gdsl.h, [
10+ AC_CHECK_LIB(gdsl,gdsl_get_version_string,
11+ CFLAGS="$CFLAGS -I/usr/local/include/gdsl -I/usr/include/gdsl"
12+ LIBS="$LIBS -lgdsl",
13+ AC_MSG_ERROR(Cannot find GDSL.))
14+ ], [ AC_MSG_ERROR(Cannot find GDSL.)]
15+ )
16+ ]
17+ )
b3e91e29 18
af0a09c4 19 # Checks for typedefs, structures, and compiler characteristics.
20 AC_C_CONST
1a679f19 21@@ -48,7 +57,7 @@
22
23 # Checks for library functions.
24 AC_CHECK_FUNCS([strtol])
25-AM_FUNC_STRTOD
26+AC_FUNC_STRTOD
27
28 AC_OUTPUT( \
29 src/Makefile \
This page took 0.055825 seconds and 4 git commands to generate.