blob: e9427ca25c9f756cfc94a81548e2c33f95b548cf (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
|
$NetBSD: patch-ac,v 1.7 2007/02/25 01:39:01 yyamano Exp $
--- configure.orig 2006-04-20 17:17:03.000000000 +0900
+++ configure
@@ -3294,8 +3294,33 @@ echo "${ECHO_T}$scsh_cv_elf" >&6
;;
- ## NetBSD and FreeBSD ( and maybe 386BSD also)
- *-*-*bsd*|*-*-darwin* )
+ ## NetBSD, FreeBSD and DragonFly ( and maybe 386BSD also)
+ *-*-*bsd*|*-*-dragonfly* )
+ LDFLAGS="-Wl,--export-dynamic"
+ dir=bsd
+
+ echo "$as_me:$LINENO: checking for ELF" >&5
+echo $ECHO_N "checking for ELF... $ECHO_C" >&6
+ if test "${scsh_cv_elf+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+
+ touch conftest.c
+ if ${CC} -v -o a.out conftest.c 2>&1 | grep -q __ELF__ ; then
+ scsh_cv_elf=yes
+ else
+ scsh_cv_elf=no
+ fi
+fi
+
+ echo "$as_me:$LINENO: result: $scsh_cv_elf" >&5
+echo "${ECHO_T}$scsh_cv_elf" >&6
+ rm -f conftest.c a.out
+
+ ;;
+
+ ## Mac OS X and Darwin
+ *-*-darwin* )
dir=bsd
echo "$as_me:$LINENO: checking for ELF" >&5
@@ -8601,6 +8626,8 @@ do
_ACEOF
cat >>$CONFIG_STATUS <<\_ACEOF
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
+ : Avoid regenerating within pkgsrc
+ exit 0
ac_cs_recheck=: ;;
--version | --vers* | -V )
echo "$ac_cs_version"; exit 0 ;;
|