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

index 00712b14ee1857f1b510cb66545a05a23344d576..227d3f3900c166d0913da238434f141de148cd04 100644 (file)
@@ -1692,6 +1692,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