summaryrefslogtreecommitdiff
blob: 2fdb7f7318640ecb1d9a6d5ef76e9c6fba6799b8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
--- config.m4	2005-12-18 22:18:10.000000000 +0100
+++ config.m4	2005-12-18 22:18:52.000000000 +0100
@@ -50,6 +50,9 @@
 
   if test -n "$PDO_MYSQL_CONFIG" && test -x "$PDO_MYSQL_CONFIG" ; then
     AC_MSG_RESULT($PDO_MYSQL_CONFIG)
+    if test "x$SED" = "x"; then
+      AC_PATH_PROG(SED, sed)
+    fi
     PDO_MYSQL_INCLUDE=`$PDO_MYSQL_CONFIG --cflags | $SED -e "s/'//g"`
     PDO_MYSQL_LIBS=`$PDO_MYSQL_CONFIG --libs | $SED -e "s/'//g"`
     PDO_MYSQL_SOCKET=`$PDO_MYSQL_CONFIG --socket`