Make changes to configure to fix mbug noted by David Elliot .
(fix is based on david's patch ). Add odbc library status to the summary provided by configure. Fix typo it prologio test. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20989 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
17
configure.in
17
configure.in
@@ -2776,16 +2776,18 @@ if test "$TOOLKIT" != "MSW" ; then
|
|||||||
dnl or iodbc-config if they exist.
|
dnl or iodbc-config if they exist.
|
||||||
|
|
||||||
AC_CHECK_HEADER(sql.h)
|
AC_CHECK_HEADER(sql.h)
|
||||||
AC_SEARCH_LIBS(SQLAllocEnv,iodbc unixodbc odbc , , [ wxUSE_ODBC=builtin ])
|
AC_SEARCH_LIBS(SQLAllocEnv,iodbc unixodbc odbc , , [
|
||||||
|
wxUSE_ODBC=builtin;
|
||||||
|
AC_MSG_WARN( [ can't find system Odbc library falling back to builtin ])
|
||||||
|
] )
|
||||||
|
fi
|
||||||
|
dnl Not "no" either...
|
||||||
|
if test "$wxUSE_ODBC" != "sys" ; then
|
||||||
|
ALL_OBJECTS="${ALL_OBJECTS} \$(IODBCOBJS)"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
dnl Not "no" either...
|
|
||||||
if test "$wxUSE_ODBC" != "sys" ; then
|
|
||||||
AC_MSG_WARN( [ can't find system Odbc library falling back to builtin ])
|
|
||||||
ALL_OBJECTS="${ALL_OBJECTS} \$(IODBCOBJS)"
|
|
||||||
fi
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if test "$wxUSE_REGEX" = "builtin" ; then
|
if test "$wxUSE_REGEX" = "builtin" ; then
|
||||||
@@ -4758,7 +4760,7 @@ if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
|
|||||||
SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
|
SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if test "$wxUSE_PROLOGIO" = "yes" -o test "$wxUSE_RESOURCES" = "yes"; then
|
if test "$wxUSE_PROLOGIO" = "yes" -o "$wxUSE_RESOURCES" = "yes"; then
|
||||||
AC_MSG_ERROR([wxExpr and old-style resources are now available in contrib only])
|
AC_MSG_ERROR([wxExpr and old-style resources are now available in contrib only])
|
||||||
fi
|
fi
|
||||||
|
|
||||||
@@ -5724,6 +5726,7 @@ echo " png ${wxUSE_LIBPNG-n
|
|||||||
echo " regex ${wxUSE_REGEX}"
|
echo " regex ${wxUSE_REGEX}"
|
||||||
echo " tiff ${wxUSE_LIBTIFF-none}"
|
echo " tiff ${wxUSE_LIBTIFF-none}"
|
||||||
echo " zlib ${wxUSE_ZLIB}"
|
echo " zlib ${wxUSE_ZLIB}"
|
||||||
|
echo " odbc ${wxUSE_ODBC}"
|
||||||
|
|
||||||
echo ""
|
echo ""
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user