Skip to content
Snippets Groups Projects
Commit a5b3e201 authored by Magnus Holmgren's avatar Magnus Holmgren
Browse files

Modernize configure.ac

parent c6d9b102
No related branches found
No related tags found
No related merge requests found
dnl Process this file with autoconf to produce a configure script.
AC_INIT(INSTALL)
AM_INIT_AUTOMAKE(liboop,1.0.1)
AC_INIT(liboop,1.0.1)
AC_CONFIG_SRCDIR([oop.h])
AM_INIT_AUTOMAKE
AC_CANONICAL_HOST
AM_PROG_LIBTOOL
LT_INIT
AC_PROG_CC
AC_PROG_INSTALL
PROG_LDCONFIG=:
AC_ARG_WITH(adns, AC_HELP_STRING(--without-adns,disable ADNS adapter))
AC_ARG_WITH(readline, AC_HELP_STRING(--without-readline,disable readline adapter))
AC_ARG_WITH(glib, AC_HELP_STRING(--without-glib,disable GLib adapter))
AC_ARG_WITH(tcl, AC_HELP_STRING(--without-tcl,disable Tcl/Tk adapter))
AC_ARG_WITH(libwww, AC_HELP_STRING(--with-libwww,build libwww adapter))
AC_ARG_WITH(adns, AS_HELP_STRING([--without-adns],[disable ADNS adapter]))
AC_ARG_WITH(readline, AS_HELP_STRING([--without-readline],[disable readline adapter]))
AC_ARG_WITH(glib, AS_HELP_STRING([--without-glib],[disable GLib adapter]))
AC_ARG_WITH(tcl, AS_HELP_STRING([--without-tcl],[disable Tcl/Tk adapter]))
AC_ARG_WITH(libwww, AS_HELP_STRING([--with-libwww],[build libwww adapter]))
dnl System type checks.
case "$host" in
......@@ -124,4 +125,5 @@ AC_SUBST(WWW_INCLUDES)
AC_SUBST(WWW_LIBS)
AC_SUBST(READLINE_LIBS)
AC_SUBST(LIBOOP_LIBS)
AC_OUTPUT([Makefile liboop.pc liboop-glib2.pc])
AC_CONFIG_FILES([Makefile liboop.pc liboop-glib2.pc])
AC_OUTPUT
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment