summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--configure.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/configure.in b/configure.in
index 800e80dd079..6bc0130055b 100644
--- a/configure.in
+++ b/configure.in
@@ -222,6 +222,10 @@ case "${canonical}" in
## NetBSD ports
*-*-netbsd* )
opsys=netbsd
+ if test -f /usr/lib/crti.o; then
+ AC_DEFINE(HAVE_CRTIN)
+ fi
+
case "${canonical}" in
alpha*-*-netbsd*) machine=alpha ;;
i[3456]86-*-netbsd*) machine=intel386 ;;