Ticket #38645: patch-configure.diff

File patch-configure.diff, 780 bytes (added by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez), 9 years ago)
  • configure

    old new  
    1141011410
    1141111411case $host_os in
    1141211412   darwin* | macosx*)
    11413       LIBIODBC="libiodbc.dylib"
    11414       LIBODBC="libodbc.dylib"
    11415       LIBMYSQL="libmysqlclient.dylib"
     11413      LIBIODBC="__MACPORTS__IODBC__LIB__/libiodbc.dylib"
     11414      LIBODBC="__MACPORTS__ODBC__LIB__/libodbc.dylib"
     11415      LIBMYSQL="__MACPORTS__MYSQL__LIB__/libmysqlclient.dylib"
    1141611416      ;;
    1141711417   *)
    1141811418      LIBIODBC="libiodbc.so"
     
    1145911459   fi
    1146011460   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
    1146111461$as_echo "yes" >&6; }
    11462    CPPFLAGS="-I/usr/include/mysql $CPPFLAGS"
     11462   CPPFLAGS="-I__MACPORTS__MYSQL__INCLUDE__ $CPPFLAGS"
    1146311463
    1146411464cat >>confdefs.h <<_ACEOF
    1146511465#define MYSQL_DLNAME "$LIBMYSQL"