X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ian/git?p=subdirmk.git;a=blobdiff_plain;f=configure.ac;h=acd7f47dbe066f52b230d404730cdc046eac14f6;hp=a16380f13a347b352689da360be8a8a8a088ebc2;hb=e84bde92db920acfff950727d1f2f8a91844ca9b;hpb=14beeeeb51aae9812d6d6cad134ef2921fcb5062 diff --git a/configure.ac b/configure.ac index a16380f..acd7f47 100644 --- a/configure.ac +++ b/configure.ac @@ -32,19 +32,10 @@ AC_PROG_CC INCLUDES= AC_SUBST(INCLUDES) -m4_define([SUBDIRSMK_SUBDIRS], -[m4_map_args_w([$1],[_SUBDIRSMK_SUBDIR(],[/)])])dnl +m4_include([subdirmk/subdirmk.ac]) -AC_CONFIG_COMMANDS([subdirsmk],[], -['$srcdir'/build-aux/subdirmk-setup --srcdir '$srcdir' $subdirsmk_subdirs]) - -m4_define([_SUBDIRSMK_SUBDIR], -[subdirsmk_subdirs="$subdirsmk_subdirs '$1'" -AC_CONFIG_FILES([$1Subdir.mk:$1Subdir.mk.tmp])])dnl -dnl -dnl [AC_CONFIG_COMMANDS([$1Subdir.mk],) - -SUBDIRSMK_SUBDIRS([lib lib/t src]) +SUBDIRMK_SUBDIRS([lib]) +SUBDIRMK_SUBDIRS([lib/t src]) AC_OUTPUT