change to GDAL checking

git-svn-id: http://svn.osgeo.org/qgis/trunk@285 c8812cc2-4d05-0410-92ff-de0c093fc19c
This commit is contained in:
gsherman 2003-09-26 05:30:08 +00:00
parent 0ca2632974
commit 231583295f
2 changed files with 2 additions and 6 deletions

6
configure vendored
View File

@ -1195,8 +1195,6 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
ac_config_commands="$ac_config_commands Makefile"
ac_config_commands="$ac_config_commands src/Makefile"
@ -1239,7 +1237,7 @@ echo "$as_me: error: GDAL is compiled without OGR support." >&2;}
fi
GDAL_LIB="`$GDAL_CONFIG --libs`"
GDAL_CFLAGS="`$GDAL_CONFIG --cflags`"
GDAL_CFLAGS="`$GDAL_CONFIG --prefix`/include"
echo "$as_me:$LINENO: result: yes" >&5
echo "${ECHO_T}yes" >&6
@ -1931,7 +1929,6 @@ do
case "$ac_config_target" in
# Handling of arguments.
"src/platform.pro" ) CONFIG_FILES="$CONFIG_FILES src/platform.pro" ;;
"Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
"src/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS src/Makefile" ;;
*) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
@ -2284,7 +2281,6 @@ ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
{ echo "$as_me:$LINENO: executing $ac_dest commands" >&5
echo "$as_me: executing $ac_dest commands" >&6;}
case $ac_dest in
Makefile ) $QTDIR/bin/qmake -o Makefile qgis.pro ;;
src/Makefile ) $QTDIR/bin/qmake -o src/Makefile src/src.pro ;;
esac
done

View File

@ -34,7 +34,7 @@ if test `$GDAL_CONFIG --ogr-enabled` = "no" ; then
fi
GDAL_LIB="`$GDAL_CONFIG --libs`"
GDAL_CFLAGS="`$GDAL_CONFIG --cflags`"
GDAL_CFLAGS="`$GDAL_CONFIG --prefix`/include"
AC_MSG_RESULT(yes)
AC_SUBST(GDAL_LIB)