configure 4.2.1

enforce GIRPATH to be specified by exiting configure with unset
parent 51870095
...@@ -9,8 +9,6 @@ if [[ -d "/usr/lib/girepository-1.0/" ]]; then ...@@ -9,8 +9,6 @@ if [[ -d "/usr/lib/girepository-1.0/" ]]; then
export GIRPATH="/usr/lib/girepository-1.0/" export GIRPATH="/usr/lib/girepository-1.0/"
elif [[ -d "/usr/lib64/girepository-1.0/" ]]; then elif [[ -d "/usr/lib64/girepository-1.0/" ]]; then
export GIRPATH="/usr/lib64/girepository-1.0/" export GIRPATH="/usr/lib64/girepository-1.0/"
else
echo *** GIRPATH not detected ***
fi fi
PREFIX="/usr" PREFIX="/usr"
......
...@@ -27,6 +27,8 @@ Overview of changes in v8.1 "Sonic Empire" ...@@ -27,6 +27,8 @@ Overview of changes in v8.1 "Sonic Empire"
* configure now displays information about non-function features due to * configure now displays information about non-function features due to
missing optional dependencies inline, instead of the end missing optional dependencies inline, instead of the end
* improved dependency definition and streamlined checking them * improved dependency definition and streamlined checking them
* improved substituting configure values in .in files
* enforce GIRPATH to be specified by exiting configure with unset
* improved help message * improved help message
* minor internal improvements in configure * minor internal improvements in configure
......
...@@ -70,6 +70,12 @@ if [[ $MODE == help ]]; then ...@@ -70,6 +70,12 @@ if [[ $MODE == help ]]; then
help_message help_message
elif [[ $GIRPATH == "" ]]; then
echo -e "*** GIRPATH not detected ***\
\nconfigure --girpath=<girpath> to specify where to look for\
gobject-introspection files\n"
exit 1
elif [[ $MODE == maintainer ]]; then elif [[ $MODE == maintainer ]]; then
maintainer_message maintainer_message
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment