Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37863486
en ru br
ALT Linux repositórios
S:0.9998-alt1

Group :: Banco de dados
RPM: sqliteodbc

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

Patch: sqliteodbc-0.993-alt-odbcinstext.patch
Download


--- configure.in	2013-06-18 12:22:10.000000000 +0000
+++ /usr/src/configure.in	2013-06-18 12:44:24.717897287 +0000
@@ -399,23 +399,7 @@
 AC_MSG_CHECKING([for ODBC headers and libraries])
 for i in $ODBC_DIR ; do
    if test -r "$i/include/iodbc/sql.h" -o -r "$i/include/sql.h" ; then
-      if test -r "$i/include/iodbc/iodbcinst.h" ; then
-         ODBC_FLAGS="-DHAVE_IODBC=1 -I$i/include/iodbc"
-         if test -r "$i/lib/libiodbcinst.la" ; then
-            ODBC_LIB="$i/lib/libiodbcinst.la"
-         else
-            ODBC_LIB=-liodbcinst
-         fi
-         break
-      elif test -r "$i/include/iodbcinst.h" ; then
-         ODBC_FLAGS="-DHAVE_IODBC=1 -I$i/include"
-         if test -r "$i/lib/libiodbcinst.la" ; then
-            ODBC_LIB="$i/lib/libiodbcinst.la"
-         else
-            ODBC_LIB=-liodbcinst
-         fi
-         break
-      elif test -r "$i/include/odbcinst.h" ; then
+      if test -r "$i/include/odbcinst.h" ; then
          ODBC_FLAGS="-DHAVE_UNIXODBC=1 -I$i/include"
          if test -r "$i/lib/libodbcinst.la" ; then
             ODBC_LIB="$i/lib/libodbcinst.la"
@@ -432,6 +416,22 @@
          fi
          break
       fi
+      elif test -r "$i/include/iodbc/iodbcinst.h" ; then
+         ODBC_FLAGS="-DHAVE_IODBC=1 -I$i/include/iodbc"
+         if test -r "$i/lib/libiodbcinst.la" ; then
+            ODBC_LIB="$i/lib/libiodbcinst.la"
+         else
+            ODBC_LIB=-liodbcinst
+         fi
+         break
+      elif test -r "$i/include/iodbcinst.h" ; then
+         ODBC_FLAGS="-DHAVE_IODBC=1 -I$i/include"
+         if test -r "$i/lib/libiodbcinst.la" ; then
+            ODBC_LIB="$i/lib/libiodbcinst.la"
+         else
+            ODBC_LIB=-liodbcinst
+         fi
+         break
    fi
 done
 if test "$ODBC_FLAGS" = "UNKNOWN" -o "$ODBC_LIB" = "UNKNOWN" ; then
 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009