Skip to content

Commit

Permalink
Improve hints for disabling SQlite3/MySQL support in configure script
Browse files Browse the repository at this point in the history
  • Loading branch information
Dr. Steffen Wendzel authored and Dr. Steffen Wendzel committed Jul 30, 2015
1 parent 36a45f8 commit dc0f422
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions WendzelNNTPd-OSE/configure
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,7 @@ if [ "$SQLITE" = "NO" ]; then
else
out "checking for sqlite3..."; sqlite3 -version 2>/dev/null
if [ "$?" = "127" ]; then
echo "no (You need SQLite3 or newer.)"
echo "no (You need SQLite3 or newer (or disable SQLite3 support, cf. ./configure --help).)"
exit 1
fi

Expand All @@ -300,7 +300,7 @@ int main() {
return 0;
}
EOF
gcc -o temp temp.c -lsqlite3 -I/usr/local/include -L/usr/local/lib >/dev/null 2>&1; check "yes" "no" "You need libSQLite3 development files and library."
gcc -o temp temp.c -lsqlite3 -I/usr/local/include -L/usr/local/lib >/dev/null 2>&1; check "yes" "no" "You need libSQLite3 development files and library (or disable SQLite3 support, cf. ./configure --help)."
rm -f temp temp.c
fi

Expand All @@ -324,7 +324,7 @@ int main() {
return 0;
}
EOF
gcc -o temp temp.c -lmysqlclient -I/usr/local/include -L/usr/local/lib >/dev/null 2>&1; check "yes" "no" "You need the MySQL client library and their development files."
gcc -o temp temp.c -lmysqlclient -I/usr/local/include -L/usr/local/lib >/dev/null 2>&1; check "yes" "no" "You need the MySQL client library and their development files (or disable MySQL support, cf. ./configure --help)."
rm -f temp temp.c
fi

Expand Down

0 comments on commit dc0f422

Please sign in to comment.