summaryrefslogtreecommitdiffstats
path: root/plugins/ommysql/configure.ac
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2007-10-11 12:53:40 +0000
committerRainer Gerhards <rgerhards@adiscon.com>2007-10-11 12:53:40 +0000
commit341af8bcd0a7683b6c17ca23f1028ae47a9cf4c5 (patch)
tree749106882fa85e950b0257ac3084ac8c75aabcc2 /plugins/ommysql/configure.ac
parent6e32d3f1dba30ac353d6bbdd93b7431eef6aa62d (diff)
downloadrsyslog-341af8bcd0a7683b6c17ca23f1028ae47a9cf4c5.tar.gz
rsyslog-341af8bcd0a7683b6c17ca23f1028ae47a9cf4c5.tar.bz2
rsyslog-341af8bcd0a7683b6c17ca23f1028ae47a9cf4c5.zip
- changed the build system to use a single source tarball again (but
different makefiles for the main project and ommysql) - applied fixes from Michael Biebl: 1.) fix failing compilation of ommysql plugin (s/ommysql-config.h/config.h/) 2.) fix mysql configure check (although the default is no, we did check for the mysql devel files) 3.) Create a separate Makefile.am for the doc files. This cleans up the toplevel Makefile.am considerably and makes it much more readable and maintainable. 3b) Assign the html doc files to html_DATA. This means, they are installed to $(hmtdir), which by autoconf standards is $(prefix)/share/doc/$packagename/. 4.) Reformat the SOURCES line to make it better readable and maintainable.
Diffstat (limited to 'plugins/ommysql/configure.ac')
-rw-r--r--plugins/ommysql/configure.ac48
1 files changed, 0 insertions, 48 deletions
diff --git a/plugins/ommysql/configure.ac b/plugins/ommysql/configure.ac
deleted file mode 100644
index 57d92e7c..00000000
--- a/plugins/ommysql/configure.ac
+++ /dev/null
@@ -1,48 +0,0 @@
-# -*- Autoconf -*-
-# Process this file with autoconf to produce a configure script.
-
-AC_PREREQ(2.61)
-AC_INIT([rsyslog-ommysql],[1.19.8],[rsyslog@lists.adiscon.com.])
-AM_INIT_AUTOMAKE([foreign])
-AC_CONFIG_SRCDIR([ommysql.c])
-AC_CONFIG_HEADER([ommysql-config.h])
-
-# Checks for programs.
-AC_PROG_CC
-AM_PROG_CC_C_O
-if test "$GCC" = "yes"
-then CFLAGS="$CFLAGS -W -Wall -Wformat-security -Wshadow -Wcast-align -Wpointer-arith -Wmissing-format-attribute -g"
-fi
-AC_DISABLE_STATIC
-AC_PROG_LIBTOOL
-AC_CANONICAL_HOST
-
-# Checks for libraries.
-
-# Checks for header files.
-AC_HEADER_STDC
-AC_CHECK_HEADERS([stdlib.h string.h syslog.h sys/param.h])
-
-# Checks for typedefs, structures, and compiler characteristics.
-
-# Checks for library functions.
-
-# SQL support
-AC_CHECK_HEADERS(
- [mysql/mysql.h],,
- [AC_MSG_FAILURE([MySQL headers are missing])]
-)
-AC_SEARCH_LIBS(
- [mysql_init],
- [mysqlclient],
- [mysql_cflags=`mysql_config --cflags`
- mysql_libs=`mysql_config --libs`
- ],
- [AC_MSG_FAILURE([MySQL library is missing])],
- [`mysql_config --libs`]
-)
-AC_SUBST(mysql_cflags)
-AC_SUBST(mysql_libs)
-
-AC_CONFIG_FILES([Makefile])
-AC_OUTPUT