diff --git a/configure b/configure index e53e2a51df..1816f8c094 100755 --- a/configure +++ b/configure @@ -12462,6 +12462,8 @@ test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' ac_config_headers="$ac_config_headers config.h" +ac_config_commands="$ac_config_commands default-1" + ac_config_files="$ac_config_files Makefile pcap-filter.manmisc pcap-linktype.manmisc pcap-tstamp.manmisc pcap-savefile.manfile pcap.3pcap pcap_compile.3pcap pcap_datalink.3pcap pcap_dump_open.3pcap pcap_list_datalinks.3pcap pcap_list_tstamp_types.3pcap pcap_open_dead.3pcap pcap_open_offline.3pcap pcap_set_tstamp_type.3pcap" cat >confcache <<\_ACEOF @@ -12878,6 +12880,7 @@ cat >>$CONFIG_STATUS <<_ACEOF # Files that config.status was made for. config_files="$ac_config_files" config_headers="$ac_config_headers" +config_commands="$ac_config_commands" _ACEOF @@ -12904,6 +12907,9 @@ $config_files Configuration headers: $config_headers +Configuration commands: +$config_commands + Report bugs to ." _ACEOF @@ -13009,6 +13015,11 @@ _ASBOX _ACEOF cat >>$CONFIG_STATUS <<_ACEOF +# +# INIT-COMMANDS +# + + _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF @@ -13018,6 +13029,7 @@ for ac_config_target in $ac_config_targets do case $ac_config_target in "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; + "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;; "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; "pcap-filter.manmisc") CONFIG_FILES="$CONFIG_FILES pcap-filter.manmisc" ;; "pcap-linktype.manmisc") CONFIG_FILES="$CONFIG_FILES pcap-linktype.manmisc" ;; @@ -13047,6 +13059,7 @@ done if $ac_need_defaults; then test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers + test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands fi # Have a temporary directory for convenience. Make it in the build tree @@ -13292,7 +13305,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF fi # test -n "$CONFIG_FILES" -for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS +for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS do case $ac_tag in :[FHLC]) ac_mode=$ac_tag; continue;; @@ -13631,9 +13644,18 @@ echo "$as_me: $ac_file is unchanged" >&6;} rm -f "$tmp/out12" ;; - + :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5 +echo "$as_me: executing $ac_file commands" >&6;} + ;; esac + + case $ac_file$ac_mode in + "default-1":C) if test -f .devel; then + make depend +fi ;; + + esac done # for ac_tag @@ -13664,8 +13686,4 @@ if test "$no_create" != yes; then $ac_cs_success || { (exit 1); exit 1; } fi - -if test -f .devel ; then - make depend -fi exit 0 diff --git a/configure.in b/configure.in index 10c5328172..6ae38d8b16 100644 --- a/configure.in +++ b/configure.in @@ -1572,14 +1572,13 @@ AC_PROG_INSTALL AC_CONFIG_HEADER(config.h) +AC_OUTPUT_COMMANDS([if test -f .devel; then + make depend +fi]) AC_OUTPUT(Makefile pcap-filter.manmisc pcap-linktype.manmisc pcap-tstamp.manmisc pcap-savefile.manfile pcap.3pcap pcap_compile.3pcap pcap_datalink.3pcap pcap_dump_open.3pcap pcap_list_datalinks.3pcap pcap_list_tstamp_types.3pcap pcap_open_dead.3pcap pcap_open_offline.3pcap pcap_set_tstamp_type.3pcap) - -if test -f .devel ; then - make depend -fi exit 0