$OpenBSD: patch-configure_ac,v 1.3 2009/10/21 16:27:42 kili Exp $ /* no comment */ --- configure.ac.orig Sat Nov 15 10:02:35 2008 +++ configure.ac Wed Oct 21 17:23:50 2009 @@ -14,10 +14,20 @@ AC_CONFIG_FILES([Makefile src/Makefile extensions/Make AC_PROG_MAKE_SET AC_PROG_CXX +dnl Gettext Support +AM_GNU_GETTEXT([external]) +AM_GNU_GETTEXT_VERSION([0.16.1]) + +dnl AM_PO_SUBDIRS +AM_ICONV + AC_SEARCH_LIBS([tgetent],[ncurses termcap curses]) AC_CHECK_LIB([readline], [readline],,AC_MSG_ERROR([ERROR! readline not found...])) GUILE_FLAGS +sometimes_things_just_suck=$LDFLAGS +LDFLAGS=$GUILE_LDFLAGS AC_CHECK_LIB([guile],[scm_boot_guile],,AC_MSG_ERROR([ERROR! Guile 1.6 or above required.])) +LDFLAGS=$sometimes_things_just_suck AC_CHECK_PROG([PKGCONFIG], [pkg-config], [yes], [no]) if test "x$PKGCONFIG" = "xno"; then @@ -37,8 +47,6 @@ AC_SUBST(LOUDMOUTH_CFLAGS) AC_SUBST(LOUDMOUTH_LIBS) -AC_CHECK_HEADER([argp.h],AC_DEFINE(HAVE_ARGP,[1])) - AC_CHECK_HEADERS([errno.h]) AC_CHECK_TYPES([error_t], [], @@ -47,12 +55,5 @@ AC_CHECK_TYPES([error_t], #define __need_error_t #include #endif]) - -dnl Gettext Support -AM_GNU_GETTEXT([external]) -AM_GNU_GETTEXT_VERSION([0.16.1]) - -dnl AM_PO_SUBDIRS -AM_ICONV AC_OUTPUT