test/configure2

changeset 122
5706694c17c4
parent 116
41981a23aff8
child 123
d89b75fdf0aa
--- a/test/configure2	Sat Nov 02 14:23:45 2024 +0100
+++ b/test/configure2	Tue Nov 12 16:53:27 2024 +0100
@@ -650,6 +650,11 @@
         unset FEATURE_DB
     fi
 fi
+if [ -n "$FEATURE_DB" ]; then
+    :
+    TEMP_CFLAGS="$TEMP_CFLAGS -DDATABASE"
+    TEMP_CXXFLAGS="$TEMP_CXXFLAGS -DDATABASE"
+fi
 if [ -n "$FEATURE_GUI" ]; then
     # check dependency
     if dependency_error_gtk3 ; then
@@ -665,6 +670,11 @@
         unset FEATURE_GUI
     fi
 fi
+if [ -n "$FEATURE_GUI" ]; then
+    :
+    TEMP_CFLAGS="$TEMP_CFLAGS -DUI=GTK3"
+    TEMP_CXXFLAGS="$TEMP_CXXFLAGS -DUI=GTK3"
+fi
 
 # Option: --toolkit
 if [ -z "$OPT_TOOLKIT" ]; then

mercurial