Explorar el Código

checking for geos_c.h

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@36546 15284696-431f-4ddb-bdfa-cd5b030d7da7
Martin Landa hace 16 años
padre
commit
57399fd1e8
Se han modificado 2 ficheros con 477 adiciones y 430 borrados
  1. 474 429
      configure
  2. 3 1
      configure.in

La diferencia del archivo ha sido suprimido porque es demasiado grande
+ 474 - 429
configure


+ 3 - 1
configure.in

@@ -750,13 +750,15 @@ else
   if test "$GEOS_CONFIG" = "no" ; then
     AC_MSG_ERROR([*** couldn't find geos-config])
   fi
-
+  
   if test "$GEOS_CONFIG" != "" ; then
     GEOS_LIBS=`"$GEOS_CONFIG" --libs`
     GEOS_CFLAGS=`"$GEOS_CONFIG" --cflags`
     USE_GEOS=1
   fi
   
+  LOC_CHECK_INCLUDES(geos_c.h,GEOS,$GEOS_CFLAGS)
+
   AC_DEFINE(HAVE_GEOS)
 fi