configure: Add possibility to exclude some directories from the generated lists.
This commit is contained in:
parent
49163da1d1
commit
485cc59c14
|
@ -168,14 +168,16 @@ AC_CONFIG_FILES([$1])])
|
|||
|
||||
dnl **** Create a makefile from config.status ****
|
||||
dnl
|
||||
dnl Usage: WINE_CONFIG_MAKEFILE(file,deps,prefix,var)
|
||||
dnl Usage: WINE_CONFIG_MAKEFILE(file,deps,prefix,var,enable)
|
||||
dnl
|
||||
AC_DEFUN([WINE_CONFIG_MAKEFILE],
|
||||
[m4_pushdef([ac_dir],m4_bpatsubst([$1],[^\($3/?\(.*\)/\)?Makefile$],[\2]))dnl
|
||||
m4_ifval(ac_dir,[ALL_MAKEFILES="$ALL_MAKEFILES \\
|
||||
$1"])
|
||||
m4_ifval([$4],[$4="$[$4] \\
|
||||
AS_VAR_PUSHDEF([ac_enable],m4_default([$5],[enable_]ac_dir))dnl
|
||||
m4_ifval([$4],[test "x$ac_enable" != xno && $4="$[$4] \\
|
||||
ac_dir"])
|
||||
AS_VAR_POPDEF([ac_enable])dnl
|
||||
ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
|
||||
[$1: ]m4_ifval([$2],[$1.in $2],[$1.in])"
|
||||
AC_CONFIG_FILES([$1])dnl
|
||||
|
|
Loading…
Reference in New Issue