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

index 42176f94447ba46aefe4875f2a4c30377e48aede..e26204045ae863e3900a0b77bc1ee979d1710fda 100644 (file)
@@ -1,4 +1,4 @@
-dnl $Id$
+dnl $Id$ -*- autoconf -*-
 dnl
 dnl This file contains local autoconf functions.
 
@@ -1699,6 +1699,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