Merge in SNORT/snort3 from ~OSHUMEIK/snort3:fix_configure to master
Squashed commit of the following:
commit
39afcb145ec708b86767c179ad4e9abe1392b556
Author: Oleksii Shumeiko <oshumeik@cisco.com>
Date: Wed Jul 16 10:31:32 2025 +0300
build: fix comparison of empty integers
Thanks to Hatix Ntsoa.
shift
done
-if [ "$tcm" -eq 1 -a "$jem" -eq 1 ] ; then
+if ((tcm == 1)) ; then if ((jem == 1)) ; then
echo "--enable-jemalloc and --enable-tcmalloc are mutually exclusive; enable at most one"
exit 2
-fi
+fi fi
if [ -d $builddir ]; then
# If build directory exists, check if it has a CMake cache