- simdzone-zone-load, configure checks that the simdzone directory has the

submodule files and prints an error otherwise.
This commit is contained in:
W.C.A. Wijngaards
2025-10-08 16:40:50 +02:00
parent 54ac686476
commit 426d56795f
2 changed files with 4 additions and 0 deletions
Vendored
+2
View File
@@ -25403,6 +25403,8 @@ then :
enableval=$enable_haswell;
fi
if test ! -f simdzone/configure.ac; then as_fn_error $? "There is no \"simdzone/configure.ac\" file. The simdzone directory has not been fetched, perhaps get it with 'git submodule update --init'." "$LINENO" 5; fi
if test ! -f simdzone/configure; then as_fn_error $? "There is no \"simdzone/configure\" file. The simdzone directory has no configure script file, perhaps run 'autoreconf -fi'." "$LINENO" 5; fi
subdirs="$subdirs simdzone"
+2
View File
@@ -2486,6 +2486,8 @@ AC_CONFIG_HEADERS([config.h])
# Arguments introduced specifically for simdzone.
AC_ARG_ENABLE(westmere, AS_HELP_STRING([--disable-westmere], [Disable Westmere (SSE4.2) parser kernel]))
AC_ARG_ENABLE(haswell, AS_HELP_STRING([--disable-haswell], [Disable Haswell (AVX2) parser kernel]))
if test ! -f simdzone/configure.ac; then AC_MSG_ERROR([There is no "simdzone/configure.ac" file. The simdzone directory has not been fetched, perhaps get it with 'git submodule update --init'.]); fi
if test ! -f simdzone/configure; then AC_MSG_ERROR([There is no "simdzone/configure" file. The simdzone directory has no configure script file, perhaps run 'autoreconf -fi'.]); fi
AC_CONFIG_SUBDIRS([simdzone])
# Pick up the objects for simdzone.
SIMDZONE_OBJ=`(cd simdzone; make list_objs) | sed -e 's?src?simdzone/src?g'`