Merge pull request #1339 from rhabacker/fix-build-rules
Fix incomplete build rules for generating header files
This commit is contained in:
commit
e02eb2a4d8
|
|
@ -12,6 +12,7 @@
|
|||
# PARTICULAR PURPOSE.
|
||||
|
||||
m4_ifndef([AC_CONFIG_MACRO_DIRS], [m4_defun([_AM_CONFIG_MACRO_DIRS], [])m4_defun([AC_CONFIG_MACRO_DIRS], [_AM_CONFIG_MACRO_DIRS($@)])])
|
||||
m4_include([m4/_ac_am_config_header_hook.m4])
|
||||
m4_include([m4/_ax_c_underscores_match_if.m4])
|
||||
m4_include([m4/ax_c99_strtod.m4])
|
||||
m4_include([m4/ax_c_picflag.m4])
|
||||
|
|
|
|||
|
|
@ -0,0 +1,13 @@
|
|||
# When config.status generates a header, we must update the stamp-h file.
|
||||
# This file resides in the same directory as the config header
|
||||
# that is generated. The stamp file name are based on the header name.
|
||||
|
||||
# Autoconf calls _AC_AM_CONFIG_HEADER_HOOK (when defined) in the
|
||||
# loop where config.status creates the headers, so we can generate
|
||||
# our stamp files there.
|
||||
AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK],
|
||||
[
|
||||
_config_header=$1
|
||||
_stamp_name=stamp-`expr //$_config_header : '.*/\([[^./]]*\)\.[[^./]]*$'`-h
|
||||
echo "timestamp for $_config_header" > `AS_DIRNAME(["$_config_header"])`/[]$_stamp_name
|
||||
]) #_AC_AM_CONFIG_HEADER_HOOK
|
||||
Loading…
Reference in New Issue