Added capability to select config with command line argument (.conf.linux).

TODO #1: some other shortcut scripts should support this.
TODO #2: add a special script for Github test builds this way.
This commit is contained in:
Volker Ruppert 2023-12-02 14:49:21 +01:00
parent fcea81a042
commit fc0992ac40

View File

@ -2,9 +2,11 @@
#
# .conf.linux
#
#which_config=normal
which_config=plugins
if test $# = 0; then
which_config=plugins
else
which_config=$1
fi
CC="gcc"
CXX="c++"
@ -80,5 +82,6 @@ case $which_config in
--with-all-libs \
${CONFIGURE_ARGS}
;;
*) echo "Unknown config \"$1\" selected!" ;;
esac