Changeset: b22305a28b18 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=b22305a28b18
Modified Files:
        configure.ag
Branch: Jun2016
Log Message:

Add some brackets so that autoconf/configure works on EPEL 6.


diffs (20 lines):

diff --git a/configure.ag b/configure.ag
--- a/configure.ag
+++ b/configure.ag
@@ -2724,14 +2724,14 @@ if test "x$have_gdal" != xno && test "x$
        LIBS=""
        found_gdal_h=yes
        AC_CHECK_HEADER(gdal.h,,
-               AC_CHECK_HEADER(gdal/gdal.h,
+               [AC_CHECK_HEADER(gdal/gdal.h,
                        [if test "x$GDAL_CFLAGS" = x; then
                                GDAL_CFLAGS="-I/usr/include/gdal"
                        else
                                GDAL_CFLAGS="$GDAL_CFLAGS/gdal"
                        fi
                        CPPFLAGS="$save_CPPFLAGS $GDAL_CFLAGS"],
-                       [found_gdal_h=no]))
+                       [found_gdal_h=no])])
        if test "x$found_gdal_h" = xyes; then
                AC_CHECK_LIB(gdal, GDALAllRegister,
                        [AC_DEFINE(HAVE_GDAL, 1, [Define if you have the gdal 
library])
_______________________________________________
checkin-list mailing list
[email protected]
https://www.monetdb.org/mailman/listinfo/checkin-list

Reply via email to