common/autoconf/autogen.sh

changeset 839
174a54ce39c4
parent 783
92facce22941
child 1133
50aaf272884f
child 2212
dd97daafa80b
equal deleted inserted replaced
838:ec48d637778a 839:174a54ce39c4
60 if test -e $custom_hook; then 60 if test -e $custom_hook; then
61 echo Generating custom generated-configure.sh 61 echo Generating custom generated-configure.sh
62 # We have custom sources available; also generate configure script 62 # We have custom sources available; also generate configure script
63 # with custom hooks compiled in. 63 # with custom hooks compiled in.
64 cat $script_dir/configure.ac | sed -e "s|@DATE_WHEN_GENERATED@|$TIMESTAMP|" | \ 64 cat $script_dir/configure.ac | sed -e "s|@DATE_WHEN_GENERATED@|$TIMESTAMP|" | \
65 sed -e "s|#CUSTOM_AUTOCONF_INCLUDE|m4_include([$custom_hook])|" | ${AUTOCONF} -W all -I$script_dir - > $custom_script_dir/generated-configure.sh 65 sed -e "s|#CUSTOM_AUTOCONF_INCLUDE|m4_include([$custom_hook])|" | ${AUTOCONF} -W all -I$script_dir - > $custom_script_dir/generated-configure.sh
66 rm -rf autom4te.cache 66 rm -rf autom4te.cache
67 else 67 else
68 echo No custom hook found: $custom_hook 68 echo No custom hook found: $custom_hook
69 fi 69 fi

mercurial