configure: add -p option to mkdir.
authorDaniel Kochmanski <dkochmanski@hellsgate.pl>
Sun, 1 Feb 2015 12:13:22 +0000 (13:13 +0100)
committerDaniel Kochmanski <dkochmanski@hellsgate.pl>
Sun, 1 Feb 2015 12:13:22 +0000 (13:13 +0100)
If build failed at first time (ie due to wrong configure options),
second build was failing when trying to recreate some directories.

Signed-off-by: Daniel Kochmanski <dkochmanski@hellsgate.pl>
src/configure
src/configure.in

index 56af8c4..75cfc61 100755 (executable)
@@ -10814,4 +10814,4 @@ if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
 fi
 
-for i in $srcdir/c/*/; do mkdir c/`basename $i`; done
+for i in $srcdir/c/*/; do mkdir -p c/`basename $i`; done
index 3546e08..f951304 100644 (file)
@@ -902,4 +902,4 @@ AC_CONFIG_FILES([
  ])
 AC_CONFIG_HEADERS([ecl/config.h:ecl/configpre.h]) # FIXME
 AC_OUTPUT
-for i in $srcdir/c/*/; do mkdir c/`basename $i`; done
+for i in $srcdir/c/*/; do mkdir -p c/`basename $i`; done