440979eb9e
ok Joachim Schipper (Maintainer)
49 lines
1.5 KiB
Plaintext
49 lines
1.5 KiB
Plaintext
$OpenBSD: patch-configure_in,v 1.2 2011/10/07 14:12:55 giovanni Exp $
|
|
--- configure.in.orig Tue Aug 23 00:03:55 2011
|
|
+++ configure.in Tue Oct 4 11:16:42 2011
|
|
@@ -34,7 +34,7 @@ dnl SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SU
|
|
dnl
|
|
dnl Process this file with autoconf to produce a configure script.
|
|
|
|
-AC_PREREQ(2.13.20110430)
|
|
+AC_PREREQ(2.13)
|
|
AC_INIT(include/tin.h)
|
|
AC_CONFIG_HEADER(include/autoconf.h:include/autoconf.hin)
|
|
AC_PREFIX_DEFAULT(/usr/local)
|
|
@@ -828,13 +828,15 @@ fi
|
|
### Checks for libraries.
|
|
# libuu/uudeview
|
|
# only define HAVE_LIBUU and HAVE_UUDEVIEW_H if both are found
|
|
-AC_CHECK_LIB(uu, UUInitialize,
|
|
- [AC_CHECK_HEADER(uudeview.h,
|
|
- [AC_DEFINE(HAVE_LIBUU)
|
|
- AC_DEFINE(HAVE_UUDEVIEW_H)
|
|
- LIBS="$LIBS -luu"]
|
|
- )]
|
|
-)
|
|
+dnl Disable to make sure the package does not change if someone ever ports this
|
|
+dnl
|
|
+dnl AC_CHECK_LIB(uu, UUInitialize,
|
|
+dnl [AC_CHECK_HEADER(uudeview.h,
|
|
+dnl [AC_DEFINE(HAVE_LIBUU)
|
|
+dnl AC_DEFINE(HAVE_UUDEVIEW_H)
|
|
+dnl LIBS="$LIBS -luu"]
|
|
+dnl )]
|
|
+dnl )
|
|
|
|
# libidn - Internationalized Domain Names
|
|
AC_CHECK_LIB(idn, stringprep_check_version,
|
|
@@ -1043,7 +1045,11 @@ CF_TERMIOS
|
|
CF_PW_GECOS
|
|
CF_TM_GMTOFF
|
|
|
|
-AC_SYS_LONG_FILE_NAMES
|
|
+dnl AC_SYS_LONG_FILE_NAMES tries to write to /usr and thus fails if /usr is
|
|
+dnl mounted read-only. Since OpenBSD always supports long filenames, set the
|
|
+dnl flag unconditionally.
|
|
+dnl AC_SYS_LONG_FILE_NAMES
|
|
+AC_DEFINE(HAVE_LONG_FILE_NAMES)
|
|
CF_FUNC_SYSTEM
|
|
|
|
# Check if we are trying to use curses+color, but cannot
|