]> granicus.if.org Git - php/commitdiff
MFH: Fix VPATH build again.
authorJoe Orton <jorton@php.net>
Wed, 8 Dec 2004 12:55:33 +0000 (12:55 +0000)
committerJoe Orton <jorton@php.net>
Wed, 8 Dec 2004 12:55:33 +0000 (12:55 +0000)
acinclude.m4

index 67b5d9df201ee2e69562b5eb54ce891f7548145c..29a833ee399276ce545547a896a536f96e46ca84 100644 (file)
@@ -1,4 +1,4 @@
-dnl $Id$
+dnl $Id$ -*- autoconf -*-
 dnl
 dnl This file contains local autoconf functions.
 
@@ -1695,6 +1695,10 @@ AC_DEFUN([PHP_SETUP_ICONV], [
   found_iconv=no
   unset ICONV_DIR
 
+  # Create the directories for a VPATH build:
+  test -d ext || mkdir ext
+  test -d ext/iconv || mkdir ext/iconv
+
   echo > ext/iconv/php_have_libiconv.h
   echo > ext/iconv/php_have_iconv.h