Changeset 12603

Show
Ignore:
Timestamp:
11/01/07 12:23:57 (7 months ago)
Author:
hobu
Message:

do not set HAVE_OGPYTHON if --with-ogpython or --with-ogpython=foo is not set

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/gdal/configure.in

    r12502 r12603  
    22032203dnl --------------------------------------------------------------------------- 
    22042204 
    2205 AC_ARG_WITH(ogpython,[  --with-ogpython         Enable Old-gen traditional (deprecated) Python bindings],,
     2205AC_ARG_WITH(ogpython,[  --with-ogpython         Enable Old-gen traditional (deprecated) Python bindings],,[with_ogpython=no]
    22062206 
    22072207AC_MSG_CHECKING([for old-gen python bindings]) 
    22082208HAVE_OGPYTHON=no 
    2209 if test "$with_ogpython" = yes -o x"$with_ogpython" = x ; then 
     2209 
     2210if test "x$with_ogpython" = "xyes" -o "x$with_ogpython" = "x"; then 
    22102211  AM_PATH_PYTHON 
    22112212  AM_INIT_PYEXEC_MOD