--- configure.ac +++ configure.ac @@ -2160,8 +2160,8 @@ done done else - MYSQL_INCLUDE="`$MYSQL_CONFIG --include`" - MYSQL_LIBS="`$MYSQL_CONFIG --libs`" + MYSQL_INCLUDE="`$MYSQL_CONFIG --cflags | tr -d \'`" + MYSQL_LIBS="`$MYSQL_CONFIG --libs | tr -d \'`" fi old_LIBS=$LIBS --- configure +++ configure @@ -22242,8 +22242,8 @@ done done else - MYSQL_INCLUDE="`$MYSQL_CONFIG --include`" - MYSQL_LIBS="`$MYSQL_CONFIG --libs`" + MYSQL_INCLUDE="`$MYSQL_CONFIG --cflags | tr -d \'`" + MYSQL_LIBS="`$MYSQL_CONFIG --libs | tr -d \'`" fi old_LIBS=$LIBS