]> git.saurik.com Git - wxWidgets.git/blobdiff - configure
Added casts to fix compile problem
[wxWidgets.git] / configure
index 91ca0b86cfd36bf23252ef2759864a1b48d51d0c..1e7e9d2a139fd18358cc3d51d66be92d1fcbda47 100755 (executable)
--- a/configure
+++ b/configure
@@ -4368,7 +4368,7 @@ DEFAULT_wxUSE_IOSTREAMH=1
 DEFAULT_wxUSE_ZLIB=1
 DEFAULT_wxUSE_GDK_IMLIB=1
 DEFAULT_wxUSE_LIBPNG=1
-DEFAULT_wxUSE_ODBC=1
+DEFAULT_wxUSE_ODBC=0
 
 DEFAULT_wxUSE_COMBOBOX=1
 DEFAULT_wxUSE_GAUGE=1
@@ -6968,7 +6968,7 @@ CREATE_SHARED=
 case "${canonical}" in
 
   *-hp-hpux* )
-    if test "${CC}" != "gcc" ; then
+    if test "$GCC" != "yes" ; then
       CXXFLAGS="${CXXFLAGS} +a1 -z -Aa -D_HPUX_SOURCE"
       CFLAGS="${CFLAGS} -z -D_HPUX_SOURCE"
       PICFLAGS="+z"
@@ -6995,7 +6995,7 @@ EOF
   ;;
 
   *-*-solaris2* ) 
-    if test "${CC}" != "gcc" ; then
+    if test "$GCC" != "yes" ; then
       PICFLAGS="-KPIC"
     else
       PICFLAGS="-fPIC"
@@ -7008,7 +7008,7 @@ EOF
   ;;
 
   *-*-sunos4* ) 
-    if test "${CC}" != "gcc" ; then
+    if test "$GCC" != "yes" ; then
       PICFLAGS="-PIC"
     else
       PICFLAGS="-fPIC"
@@ -7036,7 +7036,7 @@ EOF
   ;;
 
   *-*-dgux5* ) 
-    if test "${CC}" != "gcc" ; then
+    if test "$GCC" != "yes" ; then
       PICFLAGS="-K PIC"
     else
       PICFLAGS="-fPIC"
@@ -7049,7 +7049,7 @@ EOF
   ;;
 
   *-*-sysv5* ) 
-    if test "${CC}" != "gcc" ; then
+    if test "$GCC" != "yes" ; then
       PICFLAGS="-K PIC"
     else
       PICFLAGS="-fPIC"
@@ -7062,7 +7062,7 @@ EOF
   ;;
 
   *-*-aix* ) 
-    if test "${CC}" != "gcc" ; then
+    if test "$GCC" != "yes" ; then
       PICFLAGS="-bM\:SRE"
     else
       PICFLAGS="-fPIC"