- Patch out mkdir -p check from configure script, it returns wrong result

on post 5.2.1 -CURRENT. This is bandaid for now, I'll look for proper
  solution.

Reported by:	arved
This commit is contained in:
Pav Lucistnik 2004-06-01 12:16:39 +00:00
parent b0fc9ead06
commit dd5bb2d7c6
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=110599

View file

@ -1,6 +1,37 @@
--- configure.orig Sun Mar 9 08:30:25 2003
+++ configure Mon Apr 7 21:57:40 2003
@@ -7838,6 +7838,7 @@
--- configure.orig Tue Jun 1 13:57:51 2004
+++ configure Tue Jun 1 13:58:33 2004
@@ -1706,30 +1706,7 @@
echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
fi
-if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
- # Keeping the `.' argument allows $(mkdir_p) to be used without
- # argument. Indeed, we sometimes output rules like
- # $(mkdir_p) $(somedir)
- # where $(somedir) is conditionally defined.
- # (`test -n '$(somedir)' && $(mkdir_p) $(somedir)' is a more
- # expensive solution, as it forces Make to start a sub-shell.)
mkdir_p='mkdir -p -- .'
-else
- # On NextStep and OpenStep, the `mkdir' command does not
- # recognize any option. It will interpret all options as
- # directories to create, and then abort because `.' already
- # exists.
- for d in ./-p ./--version;
- do
- test -d $d && rmdir $d
- done
- # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
- if test -f "$ac_aux_dir/mkinstalldirs"; then
- mkdir_p='$(mkinstalldirs)'
- else
- mkdir_p='$(install_sh) -d'
- fi
-fi
for ac_prog in gawk mawk nawk awk
do
@@ -19101,6 +19078,7 @@
# This can be used to rebuild libtool when needed
LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"