build: Allow autoheader to be skipped
* autogen.sh: If skip_autoheader is set via autogen.rc then do not run autoheader. -- This makes it possible to skip running autoheader for packages which don't need a config.h header. GnuPG-bug-id: 7110
This commit is contained in:
parent
f97245f628
commit
13726d146c
@ -136,6 +136,7 @@ die_p
|
|||||||
configure_opts=
|
configure_opts=
|
||||||
extraoptions=
|
extraoptions=
|
||||||
package_subdir=
|
package_subdir=
|
||||||
|
skip_autoheader=
|
||||||
# List of optional variables sourced from autogen.rc and ~/.gnupg-autogen.rc
|
# List of optional variables sourced from autogen.rc and ~/.gnupg-autogen.rc
|
||||||
w32_toolprefixes=
|
w32_toolprefixes=
|
||||||
w32_extraoptions=
|
w32_extraoptions=
|
||||||
@ -514,8 +515,10 @@ if [ -n "${ACLOCAL_FLAGS}" ]; then
|
|||||||
fi
|
fi
|
||||||
info "Running $ACLOCAL ${aclocal_flags} ..."
|
info "Running $ACLOCAL ${aclocal_flags} ..."
|
||||||
$ACLOCAL ${aclocal_flags}
|
$ACLOCAL ${aclocal_flags}
|
||||||
info "Running autoheader..."
|
if [ -z "${skip_autoheader}" ]; then
|
||||||
$AUTOHEADER
|
info "Running autoheader..."
|
||||||
|
$AUTOHEADER
|
||||||
|
fi
|
||||||
info "Running automake --gnu ..."
|
info "Running automake --gnu ..."
|
||||||
$AUTOMAKE --gnu;
|
$AUTOMAKE --gnu;
|
||||||
info "Running autoconf${FORCE} ..."
|
info "Running autoconf${FORCE} ..."
|
||||||
|
Loading…
Reference in New Issue
Block a user