libtool/config
Gary V. Vaughan 4bf4433f70 Missed a couple of MKDIR_P references in ltmain.in in my last
patch; fix them carefully.  Introduce an opt_dry_run to ltmain.in
so that the implementations of func_mkdir_p can converge, and a
func_mktempdir to do a better job of temporary directory creation:

* libtoolize.in (func_mkdir_p): Don't fail if the directory wasn't
created in dry run mode.
* tests/defs (func_mkdir_p): Ditto.  We don't actually have a dry
run mode for the tests, but the function is written carefully to
be kept in synch and work correctly here too.
* config/ltmain.in (func_mkdir_p): Ditto.  This copy of the
function now only differs in its use of $echo over $ECHO.
(func_extract_archive): Removed first redundant mkdir call.
(func_mktempdir): New function that tries to avoid races when
making temporary directories.
(opt_dry_run): Set this if --dry-run is given at the CLI, or if
tests/mdemo-dryrun.test has forced the value of $run.
(func_mode_install): Call $MKDIR directly and error out if the
directory cannot be created.
(func_mode_link): Rather than copying func_mkdir_p into the
wrapper script as a replacement for $MKDIR_P, we know that the
script won't be called my `make -j', so write the current value of
$MKDIR.
2004-09-17 14:13:04 +00:00
..
.cvsignore * .cvsignore, config/.cvsignore, libltdl/loaders/.cvsignore, 2004-08-31 10:28:07 +00:00
ltmain.in Missed a couple of MKDIR_P references in ltmain.in in my last 2004-09-17 14:13:04 +00:00
mailnotify * ltmain.in, libtoolize.in, commit, config/mailnotify: Correctly 2004-02-13 07:26:08 +00:00
mkstamp * libltdl/loaders/loadlibrary.c: Compilation fixes (originally 2004-09-15 18:24:00 +00:00