aboutsummaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorSimon Quigley <tsimonq2@ubuntu.com>2017-06-19 14:38:43 -0500
committerSimon Quigley <tsimonq2@ubuntu.com>2017-06-19 14:38:43 -0500
commit7aeb5ac87c6105bd8fcc9b1fd12e37ba1550f587 (patch)
treecab8ef3e10d3a33a2033538b6088e107f0a86dcd /configure
parenta9d469b1b48a8446dc9b9fd987b6af83a60ed796 (diff)
Import Upstream version 0.4.2.2
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure10
1 files changed, 5 insertions, 5 deletions
diff --git a/configure b/configure
index a5ac9eb8..42dfa9ad 100755
--- a/configure
+++ b/configure
@@ -167,11 +167,7 @@ done
# --------------------------------------------------------------------------
if [ $SOUP -eq -1 ]; then
- echo -e "\nYou need the libsoup library, including the development stuff."
- echo "If you're using Debian, running the command as root:"
- echo -e "\n\taptitude install libsoup2.2-dev\n"
- echo "Will do the trick."
- exit 1
+ echo "Disabling libsoup support. (Network Manager won't be available.)"
fi
# --------------------------------------------------------------------------
@@ -193,6 +189,10 @@ echo "#define HOSTNAME \"`hostname`\"" >> config.h
echo "#define PREFIX \"/usr/share/hardinfo/\"" >> config.h
echo "#define LIBPREFIX \"/usr/lib/hardinfo/\"" >> config.h
+if [ "$SOUP" == "1" ]; then
+ echo "#define HAS_LIBSOUP" >> config.h
+fi
+
if [ "$RELEASE" == "1" ]; then
echo "#define DEBUG(...)" >> config.h
else