Merge pull request #3 in APPDRIFT/mysql-admutils from develop to hotfix/conf-parser-coredump

* commit '3182978201cf5b2ec7ccb15e44568689eeb05de9':
  Standardverdiene for mysql-lib/inc på Ubuntu
  Info om at `libmysqlclient-dev`  bør være installert før man bygger.
This commit is contained in:
Aslak Raanes 2018-10-25 09:51:20 +02:00
commit b600580a77
2 changed files with 6 additions and 2 deletions

View File

@ -1,3 +1,7 @@
## MySQL database development files
Sikre at Ubuntu-pakken `libmysqlclient-dev`/`default-libmysqlclient-dev` er installert.
## autoreconf ## autoreconf
autoreconf --force --install --symlink autoreconf --force --install --symlink

View File

@ -33,8 +33,8 @@ AC_ARG_WITH(mysql,
[ [
if test "$withval" != "no"; then if test "$withval" != "no"; then
if test "$withval" = "yes"; then if test "$withval" = "yes"; then
MYSQL_INCDIR=/usr/local/include/mysql MYSQL_INCDIR=/usr/include/mysql
MYSQL_LIBDIR=/usr/local/lib/mysql MYSQL_LIBDIR=/usr/lib/x86_64-linux-gnu
else else
if test -f $withval/include/mysql/mysql.h; then if test -f $withval/include/mysql/mysql.h; then
MYSQL_INCDIR=$withval/include/mysql MYSQL_INCDIR=$withval/include/mysql