--- sflowtool-3.10/configure.orig 2007-04-26 22:29:56.000000000 +0200 +++ sflowtool-3.10/configure.orig 2007-04-26 22:33:50.000000000 +0200 @@ -580,6 +580,9 @@ -v | -verbose | --verbose | --verbos | --verbo | --verb) verbose=yes ;; + --with-mysql) + WITH_MYSQL=1 ;; + -version | --version | --versio | --versi | --vers | -V) ac_init_version=: ;; @@ -1268,7 +1271,7 @@ PACKAGE=sflowtool -VERSION=3.10 +VERSION=3.10-r1 am__api_version="1.6" ac_aux_dir= for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do @@ -4238,7 +4241,12 @@ }' fi -DEFS=-DHAVE_CONFIG_H +if test -n "$WITH_MYSQL"; then + DEFS="-DHAVE_CONFIG_H -DHAVE_LIBMYSQLCLIENT=1 -DWITH_MYSQL=1"; + LIBS="-lmysqlclient"; +else + DEFS="-DHAVE_CONFIG_H"; +fi ac_libobjs= ac_ltlibobjs=