blob: a114b99c9ebe90ab4219676df99c1b6a1176f065 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
$NetBSD: patch-bg,v 1.1 2007/06/11 13:38:44 markd Exp $
--- configure.in.orig Fri Apr 18 19:04:25 2003
+++ configure.in
@@ -2177,6 +2177,16 @@
# Fixme: This should be replaced when we have autoconf 2.14.
AC_SIZE_T
+# NETBSD: NetBSD's newer run-time linker fix.
+if test $opsys = netbsd; then
+ if test -f /usr/lib/crti.o; then
+ AC_DEFINE(HAVE_NETBSD_CRTI)
+ fi
+ if test -f /usr/lib/crtn.o; then
+ AC_DEFINE(HAVE_NETBSD_CRTN)
+ fi
+fi
+
# Set up the CFLAGS for real compilation, so we can substitute it.
CFLAGS="$REAL_CFLAGS"
CPPFLAGS="$REAL_CPPFLAGS"
|