diff --git a/configure-libafs.ac b/configure-libafs.ac index b244f69d75..46807de816 100644 --- a/configure-libafs.ac +++ b/configure-libafs.ac @@ -1,11 +1,7 @@ AC_PRERQ([2.60]) -AC_INIT([OpenAFS], - m4_esyscmd([build-tools/git-version .]), - [openafs-bugs@openafs.org], [], - [http://www.openafs.org/]) +AC_INIT([OpenAFS],[m4_esyscmd(build-tools/git-version .)],[openafs-bugs@openafs.org],[],[http://www.openafs.org/]) AC_CONFIG_AUX_DIR([build-tools]) AC_CONFIG_SRCDIR([src/libafs/Makefile.common.in]) -AM_INIT_AUTOMAKE([foreign]) AC_CONFIG_HEADER([src/config/afsconfig.h]) MACOS_VERSION=1.8.3 @@ -18,7 +14,7 @@ AC_PROG_CC OPENAFS_CONFIGURE_COMMON -AC_OUTPUT([ +AC_CONFIG_FILES([ Makefile src/config/Makefile src/config/Makefile.config @@ -28,3 +24,4 @@ AC_OUTPUT([ src/libafs/Makefile.common src/libafs/MakefileProto ]) +AC_OUTPUT diff --git a/configure.ac b/configure.ac index 0f79cd59d4..0f7e3f4923 100644 --- a/configure.ac +++ b/configure.ac @@ -1,12 +1,8 @@ AC_PREREQ([2.60]) -AC_INIT([OpenAFS], - m4_esyscmd([build-tools/git-version .]), - [openafs-bugs@openafs.org], [], - [http://www.openafs.org/]) +AC_INIT([OpenAFS],[m4_esyscmd(build-tools/git-version .)],[openafs-bugs@openafs.org],[],[http://www.openafs.org/]) AC_CONFIG_AUX_DIR([build-tools]) AC_CONFIG_MACRO_DIR([src/cf]) AC_CONFIG_SRCDIR([src/config/stds.h]) -AM_INIT_AUTOMAKE([foreign]) AC_CONFIG_HEADER([src/config/afsconfig.h]) MACOS_VERSION=1.8.3 @@ -22,7 +18,6 @@ AC_USE_SYSTEM_EXTENSIONS AFS_LT_INIT AC_PROG_CC -AC_PROG_LIBTOOL AC_PATH_PROGS([PATH_CPP], [cpp], [${CC-cc} -E], [$PATH:/lib:/usr/ccs/lib]) AC_SUBST([PATH_CPP]) @@ -138,7 +133,7 @@ AS_IF([test -f 'doc/doxygen/Doxyfile.in'], [DOXYFILE="doc/doxygen/Doxyfile"], [DOXYFILE=]) -AC_OUTPUT([ +AC_CONFIG_FILES([ Makefile ${MAN_MAKEFILE} ${ADMINGUIDE_MAKEFILE} @@ -286,9 +281,10 @@ AC_OUTPUT([ tests/rx/Makefile tests/tap/Makefile tests/util/Makefile - tests/volser/Makefile], -[chmod a+x src/config/shlib-build - chmod a+x src/config/shlib-install]) + tests/volser/Makefile]) +AC_CONFIG_COMMANDS([default],[chmod a+x src/config/shlib-build + chmod a+x src/config/shlib-install],[]) +AC_OUTPUT # print a final summary OPENAFS_SUMMARY diff --git a/src/cf/lex.m4 b/src/cf/lex.m4 index 4658815d4a..938b1082cf 100644 --- a/src/cf/lex.m4 +++ b/src/cf/lex.m4 @@ -1,5 +1,5 @@ AC_DEFUN([OPENAFS_LEX],[ -AM_PROG_LEX +AC_PROG_LEX dnl if we are flex, be lex-compatible OPENAFS_LEX_IS_FLEX([AC_SUBST([LEX], ["$LEX -l"])]) ])