Hello, The mkinstalldirs script which ships with Autoconf and Automake leaves bogus directories named "-p" and "--" in its wake on platforms (such as NextStep and OpenStep) for which the `mkdir' command does not recognize any options. Here is a patch which fixes this bug. The patch is based upon the mkinstalldirs script from the Autoconf CVS repository since it appears to be more up-to-date than the one in the Automake CVS repository. -- ES *** mkinstalldirs Fri Jun 20 03:21:32 2003 --- mkinstalldirs-fixed Fri Sep 26 06:45:49 2003 *************** *** 65,76 **** --- 65,80 ---- if mkdir -p -- . 2>/dev/null; then echo "mkdir -p -- $*" exec mkdir -p -- "$@" + else + rm -fr ./-p ./-- fi ;; *) if mkdir -m "$dirmode" -p -- . 2>/dev/null; then echo "mkdir -m $dirmode -p -- $*" exec mkdir -m "$dirmode" -p -- "$@" + else + rm -fr ./-m ./-p ./-- ./$dirmode fi ;; esac