common/autoconf/autogen.sh
changeset 20363 fa7663fc5d50
parent 19525 9dac5000c015
child 22714 a752920c4317
equal deleted inserted replaced
20362:5f8289bfda3e 20363:fa7663fc5d50
    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