Ticket #11407: patch-locations_configure.in

File patch-locations_configure.in, 633 bytes (added by mp@…, 18 years ago)

Patch for the port that changes paths in configure.in

Line 
1--- configure.in.orig   2007-02-13 15:53:41.000000000 +0100
2+++ configure.in        2007-02-13 15:54:46.000000000 +0100
3@@ -810,7 +810,11 @@
4                        AC_MSG_ERROR(Unknown MySQL directory - unable to find mysql.h)
5                fi
6        else
7-               if test -f $withval/include/mysql/mysql.h; then
8+               # reflect MacPorts specialties...
9+               if test -f $withval/include/mysql5/mysql/mysql.h; then
10+                       MYSQL_INCDIR=$withval/include/mysql5/mysql
11+                       MYSQL_LIBDIR=$withval/lib/mysql5/mysql
12+               elif test -f $withval/include/mysql/mysql.h; then
13                        MYSQL_INCDIR=$withval/include/mysql
14                        MYSQL_LIBDIR=$withval/lib/mysql
15                elif test -f $withval/include/mysql.h; then