@@ -16,32 +16,6 @@ | |||||
# Die if an error occurs | # Die if an error occurs | ||||
set -e | set -e | ||||
# LolEngine specific: | |||||
sed -ne '/AC_CONFIG_FILES/,$p' configure.ac \ | |||||
| sed -ne 's@[^a-z]*\(.*/.*\)[^a-z]*@\1@p' | while read p; do | |||||
case "$p" in | |||||
"") | |||||
continue | |||||
;; | |||||
*Makefile) | |||||
required="${p}.am" | |||||
;; | |||||
*) | |||||
required="${p}.in" | |||||
;; | |||||
esac | |||||
if [ ! -f "${required}" ]; then | |||||
echo "bootstrap: ${required} does not exist -- creating stub" | |||||
case "$p" in | |||||
*/*) | |||||
mkdir -p "${p%/*}" | |||||
;; | |||||
esac | |||||
echo '# Stub created by bootstrap' > "${required}" | |||||
echo 'include $(top_srcdir)/build/autotools/common.am' >> "${required}" | |||||
fi | |||||
done | |||||
# Guess whether we are using configure.ac or configure.in | # Guess whether we are using configure.ac or configure.in | ||||
if test -f configure.ac; then | if test -f configure.ac; then | ||||
conffile="configure.ac" | conffile="configure.ac" | ||||
@@ -125,7 +125,7 @@ AC_CHECK_HEADERS(cxxabi.h) | |||||
AC_LANG_POP(C++) | AC_LANG_POP(C++) | ||||
dnl Common C functions | dnl Common C functions | ||||
AC_CHECK_FUNCS(getenv system tmpfile tmpnam getcwd _getcwd getlogin) | |||||
AC_CHECK_FUNCS(getenv system tmpfile tmpnam getcwd _getcwd) | |||||
AC_CHECK_FUNCS(backtrace_symbols) | AC_CHECK_FUNCS(backtrace_symbols) | ||||
AC_CHECK_FUNCS(gettimeofday usleep) | AC_CHECK_FUNCS(gettimeofday usleep) | ||||
@@ -241,10 +241,6 @@ AM_CONDITIONAL(BUILD_TUTORIAL, test "${enable_tutorial}" != "no" -a "${enable_su | |||||
AM_CONDITIONAL(BUILD_SAMPLES, test "${enable_samples}" != "no" -a "${enable_subproject}" != "yes") | AM_CONDITIONAL(BUILD_SAMPLES, test "${enable_samples}" != "no" -a "${enable_subproject}" != "yes") | ||||
dnl Should we ship non-free data? | |||||
AM_CONDITIONAL(HAVE_NONFREE, true) | |||||
LOL_AC_FINI() | LOL_AC_FINI() | ||||
AC_CONFIG_HEADER(config.h) | AC_CONFIG_HEADER(config.h) | ||||