summaryrefslogtreecommitdiff
path: root/databases/php4-mysql/files/patch-config.m4
blob: faf39d9095da37b9f20a4e6912c5c560754617b9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
--- config.m4.orig	2007-09-16 17:36:59.000000000 +0200
+++ config.m4	2007-09-16 17:37:28.000000000 +0200
@@ -61,6 +61,7 @@
 if test "$PHP_MYSQL" != "no"; then
   AC_DEFINE(HAVE_MYSQL, 1, [Whether you have MySQL])
 
+  AC_LANG_PREPROC(C)
   AC_MSG_CHECKING(for MySQL UNIX socket location)
   if test "$PHP_MYSQL_SOCK" != "no" && test "$PHP_MYSQL_SOCK" != "yes"; then
     MYSQL_SOCK=$PHP_MYSQL_SOCK