]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
improved error trace in case ./configure cannot find mysql dependencies 111-configure-options-with-mysql-not-working-properly
authorMichal Nowikowski <godfryd@isc.org>
Tue, 29 Jan 2019 09:42:39 +0000 (10:42 +0100)
committerMichal Nowikowski <godfryd@isc.org>
Tue, 29 Jan 2019 09:44:45 +0000 (10:44 +0100)
configure.ac

index d9497eb0d50e1a2df32b7faef8bc6a07750c1b16..79666ce6cd9ff8ccb166a04f6f744627aea56a2d 100644 (file)
@@ -695,7 +695,7 @@ fi
 
 if test "$MYSQL_CONFIG" != "" ; then
     if test -d "$MYSQL_CONFIG" -o ! -x "$MYSQL_CONFIG" ; then
-        AC_MSG_ERROR([--with-mysql should point to a mysql_config program])
+        AC_MSG_ERROR([MySQL dependencies cannot be found. Please install MySQL libraries or point --with-mysql to mysql_config program if it is located in non-default directory, eg. --with-mysql=/opt/mysql/bin/mysql_config.])
     fi
 
     MYSQL_CPPFLAGS=`$MYSQL_CONFIG --cflags`