blob: e49fa2894977d2964fead3367fa246ee51f142a0 (
plain) (
blame)
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
50
51
52
53
54
55
56
57
58
|
--- configure.orig Mon May 26 14:22:58 1997
+++ configure Wed May 28 02:51:36 1997
@@ -2424,16 +2424,16 @@
fi
rm -f conftest*
-ac_safe=`echo "elf.h" | sed 'y%./+-%__p_%'`
-echo $ac_n "checking for elf.h""... $ac_c" 1>&6
-echo "configure:2430: checking for elf.h" >&5
+ac_safe=`echo "DONT_DO_IT_elf.h" | sed 'y%./+-%__p_%'`
+echo $ac_n "checking for DONT_DO_IT_elf.h""... $ac_c" 1>&6
+echo "configure:2430: checking for DONT_DO_IT_elf.h" >&5
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
#line 2435 "configure"
#include "confdefs.h"
-#include <elf.h>
+#include <DONT_DO_IT_elf.h>
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
{ (eval echo configure:2440: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
@@ -2460,14 +2460,14 @@
if test "$SVR4" = 1; then cat >> confdefs.h <<\EOF
#define SVR4 1
EOF
- echo $ac_n "checking for main in -lelf""... $ac_c" 1>&6
-echo "configure:2465: checking for main in -lelf" >&5
-ac_lib_var=`echo elf'_'main | sed 'y%./+-%__p_%'`
+ echo $ac_n "checking for main in -lDONT_DO_IT_elf""... $ac_c" 1>&6
+echo "configure:2465: checking for main in -lDONT_DO_IT_elf" >&5
+ac_lib_var=`echo DONT_DO_IT_elf'_'main | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
ac_save_LIBS="$LIBS"
-LIBS="-lelf $LIBS"
+LIBS="-lDONT_DO_IT_elf $LIBS"
cat > conftest.$ac_ext <<EOF
#line 2473 "configure"
#include "confdefs.h"
@@ -2491,13 +2491,13 @@
fi
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
echo "$ac_t""yes" 1>&6
- ac_tr_lib=HAVE_LIB`echo elf | sed -e 's/[^a-zA-Z0-9_]/_/g' \
+ ac_tr_lib=HAVE_LIB`echo DONT_DO_IT_elf | sed -e 's/[^a-zA-Z0-9_]/_/g' \
-e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
cat >> confdefs.h <<EOF
#define $ac_tr_lib 1
EOF
- LIBS="-lelf $LIBS"
+ LIBS="-lDONT_DO_IT_elf $LIBS"
else
echo "$ac_t""no" 1>&6
|