Changeset: 14bba1b0f59b for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=14bba1b0f59b
Modified Files:
        configure.ag
Branch: Apr2011
Log Message:

odbc: disable odbc when unixODBC isn't found, properly report

Report state of odbc, iso unixodbc, and also give a disabled reason,
such that --disable-odbc doesn't yield in unixodbc is enabled.


diffs (28 lines):

diff --git a/configure.ag b/configure.ag
--- a/configure.ag
+++ b/configure.ag
@@ -2288,6 +2288,15 @@
        fi
        AC_SUBST(ODBC_INCS)
        AC_SUBST(ODBC_LIBS)
+       case "x${enable_odbc}x${have_unixodbc}" in
+               xautoxno)
+                       enable_odbc=no
+                       disable_odbc="(unixODBC library required for ODBC 
driver)"
+                       ;;
+               xyesxno)
+                       AC_MSG_ERROR([unixODBC required for building ODBC 
driver])
+                       ;;
+       esac
 else
        have_unixodbc=no
 fi
@@ -3142,7 +3151,7 @@
        geom \
        fits \
        rdf \
-       unixodbc \
+       odbc \
        java \
        jdbc \
        control \
_______________________________________________
Checkin-list mailing list
[email protected]
http://mail.monetdb.org/mailman/listinfo/checkin-list

Reply via email to