Sfoglia il codice sorgente

configure: check for liblas/capi/liblas.h

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@71757 15284696-431f-4ddb-bdfa-cd5b030d7da7
Martin Landa 7 anni fa
parent
commit
ffeab327f6
2 ha cambiato i file con 441 aggiunte e 454 eliminazioni
  1. 440 454
      configure
  2. 1 0
      configure.in

File diff suppressed because it is too large
+ 440 - 454
configure


+ 1 - 0
configure.in

@@ -850,6 +850,7 @@ else
   LIBS="$LIBS $LIBLAS_LIBS"
   CFLAGS="$CFLAGS $LIBLAS_CFLAGS"
   CPPFLAGS="$CPPFLAGS $LIBLAS_INC"
+  AC_CHECK_HEADERS(liblas/capi/liblas.h)
   AC_TRY_LINK([#include <liblas/capi/liblas.h>],[LASReader_Create("foo");],,[
   AC_TRY_LINK([#include <liblas/capi/liblas.h>],[LASReader_Create("foo");],LAS_LIBS="$LAS_LIBS",[
   AC_MSG_ERROR([*** Unable to locate libLAS library.])