diff options
| author | Peter Eisentraut | 2009-08-26 22:24:44 +0000 |
|---|---|---|
| committer | Peter Eisentraut | 2009-08-26 22:24:44 +0000 |
| commit | 9d182ef002b15c873074c710b709149450ddbcd9 (patch) | |
| tree | 76bacc6e91c2ea2328c60972f361c8735a06ca77 /configure.in | |
| parent | 7ca774a8739bc3887abda2a0259703729026a5ca (diff) | |
Update of install-sh, mkinstalldirs, and associated configury
Update install-sh to that from Autoconf 2.63, plus our Darwin-specific
changes (which I simplified a bit). install-sh is now able to install
multiple files in one run, so we could simplify our makefiles sometime.
install-sh also now has a -d option to create directories, so we don't need
mkinstalldirs anymore.
Use AC_PROG_MKDIR_P in configure.in, so we can use mkdir -p when available
instead of install-sh -d. For consistency with the rest of the world,
the corresponding make variable has been renamed from $(mkinstalldirs) to
$(MKDIR_P).
Diffstat (limited to 'configure.in')
| -rw-r--r-- | configure.in | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/configure.in b/configure.in index ba0dc1cb7d5..5cd5d13725e 100644 --- a/configure.in +++ b/configure.in @@ -1,5 +1,5 @@ dnl Process this file with autoconf to produce a configure script. -dnl $PostgreSQL: pgsql/configure.in,v 1.608 2009/08/04 22:04:36 petere Exp $ +dnl $PostgreSQL: pgsql/configure.in,v 1.609 2009/08/26 22:24:42 petere Exp $ dnl dnl Developers, please strive to achieve this order: dnl @@ -821,6 +821,13 @@ fi AC_PATH_PROG(TAR, tar) AC_PROG_LN_S AC_PROG_AWK +AC_PROG_MKDIR_P +# When Autoconf chooses install-sh as mkdir -p program it tries to generate +# a relative path to it in each makefile where it subsitutes it. This clashes +# with our Makefile.global concept. This workaround helps. +case $MKDIR_P in + *install-sh*) MKDIR_P='\${SHELL} \${top_srcdir}/config/install-sh -c -d';; +esac PGAC_PATH_BISON PGAC_PATH_FLEX |
