Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
riscv-gcc-1
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
riscv-gcc-1
Commits
d972a4c2
Commit
d972a4c2
authored
Aug 15, 2000
by
Ovidiu Predescu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Create a config.h file. Check for <sched.h>.
From-SVN: r35696
parent
5f974826
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
192 additions
and
54 deletions
+192
-54
libobjc/configure
+189
-53
libobjc/configure.in
+3
-1
No files found.
libobjc/configure
View file @
d972a4c2
...
...
@@ -598,7 +598,7 @@ echo "$ac_t""$ac_cv_mingw32" 1>&6
MINGW32
=
test
"
$ac_cv_mingw32
"
=
yes
&&
MINGW32
=
yes
#AC_CONFIG_HEADER(config.h)
if
test
"
${
srcdir
}
"
=
"."
;
then
if
test
"
${
with_target_subdir
}
"
!=
"."
;
then
...
...
@@ -1214,10 +1214,51 @@ EOF
fi
for
ac_hdr
in
sched.h
do
ac_safe
=
`
echo
"
$ac_hdr
"
| sed
'y%./+-%__p_%'
`
echo
$ac_n
"checking for
$ac_hdr
""...
$ac_c
"
1>&6
echo
"configure:1222: checking for
$ac_hdr
"
>
&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 1227 "configure"
#include "confdefs.h"
#include <
$ac_hdr
>
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:1232:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
ac_err
=
`
grep
-v
'^ *+'
conftest.out |
grep
-v
"^conftest.
${
ac_ext
}
\$
"
`
if
test
-z
"
$ac_err
"
;
then
rm
-rf
conftest
*
eval
"ac_cv_header_
$ac_safe
=yes"
else
echo
"
$ac_err
"
>
&5
echo
"configure: failed program was:"
>
&5
cat
conftest.
$ac_ext
>
&5
rm
-rf
conftest
*
eval
"ac_cv_header_
$ac_safe
=no"
fi
rm
-f
conftest
*
fi
if
eval
"test
\"
`
echo
'$ac_cv_header_'
$ac_safe
`
\"
= yes"
;
then
echo
"
$ac_t
""yes"
1>&6
ac_tr_hdr
=
HAVE_
`
echo
$ac_hdr
| sed
'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'
`
cat
>>
confdefs.h
<<
EOF
#define
$ac_tr_hdr
1
EOF
else
echo
"
$ac_t
""no"
1>&6
fi
done
# Determine CFLAGS for gthread.
echo
$ac_n
"checking for gthread cflags""...
$ac_c
"
1>&6
echo
"configure:12
21
: checking for gthread cflags"
>
&5
echo
"configure:12
62
: checking for gthread cflags"
>
&5
if
eval
"test
\"
`
echo
'$''{'
objc_cv_gthread_flags
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -1313,7 +1354,7 @@ else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
fi
echo
$ac_n
"checking host system type""...
$ac_c
"
1>&6
echo
"configure:13
17
: checking host system type"
>
&5
echo
"configure:13
58
: checking host system type"
>
&5
host_alias
=
$host
case
"
$host_alias
"
in
...
...
@@ -1334,7 +1375,7 @@ host_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
echo
"
$ac_t
""
$host
"
1>&6
echo
$ac_n
"checking build system type""...
$ac_c
"
1>&6
echo
"configure:13
38
: checking build system type"
>
&5
echo
"configure:13
79
: checking build system type"
>
&5
build_alias
=
$build
case
"
$build_alias
"
in
...
...
@@ -1363,7 +1404,7 @@ ac_prog=ld
if
test
"
$ac_cv_prog_gcc
"
=
yes
;
then
# Check if gcc -print-prog-name=ld gives a path.
echo
$ac_n
"checking for ld used by GCC""...
$ac_c
"
1>&6
echo
"configure:1
367
: checking for ld used by GCC"
>
&5
echo
"configure:1
408
: checking for ld used by GCC"
>
&5
case
$host
in
*
-
*
-mingw
*
)
# gcc leaves a trailing carriage return which upsets mingw
...
...
@@ -1393,10 +1434,10 @@ echo "configure:1367: checking for ld used by GCC" >&5
esac
elif
test
"
$with_gnu_ld
"
=
yes
;
then
echo
$ac_n
"checking for GNU ld""...
$ac_c
"
1>&6
echo
"configure:1
397
: checking for GNU ld"
>
&5
echo
"configure:1
438
: checking for GNU ld"
>
&5
else
echo
$ac_n
"checking for non-GNU ld""...
$ac_c
"
1>&6
echo
"configure:14
00
: checking for non-GNU ld"
>
&5
echo
"configure:14
41
: checking for non-GNU ld"
>
&5
fi
if
eval
"test
\"
`
echo
'$''{'
ac_cv_path_LD
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
...
@@ -1431,7 +1472,7 @@ else
fi
test
-z
"
$LD
"
&&
{
echo
"configure: error: no acceptable ld found in
\$
PATH"
1>&2
;
exit
1
;
}
echo
$ac_n
"checking if the linker (
$LD
) is GNU ld""...
$ac_c
"
1>&6
echo
"configure:14
35
: checking if the linker (
$LD
) is GNU ld"
>
&5
echo
"configure:14
76
: checking if the linker (
$LD
) is GNU ld"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_prog_gnu_ld
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -1448,7 +1489,7 @@ with_gnu_ld=$ac_cv_prog_gnu_ld
echo
$ac_n
"checking for
$LD
option to reload object files""...
$ac_c
"
1>&6
echo
"configure:14
52
: checking for
$LD
option to reload object files"
>
&5
echo
"configure:14
93
: checking for
$LD
option to reload object files"
>
&5
if
eval
"test
\"
`
echo
'$''{'
lt_cv_ld_reload_flag
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -1460,7 +1501,7 @@ reload_flag=$lt_cv_ld_reload_flag
test
-n
"
$reload_flag
"
&&
reload_flag
=
"
$reload_flag
"
echo
$ac_n
"checking for BSD-compatible nm""...
$ac_c
"
1>&6
echo
"configure:1
464
: checking for BSD-compatible nm"
>
&5
echo
"configure:1
505
: checking for BSD-compatible nm"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_path_NM
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -1497,7 +1538,7 @@ NM="$ac_cv_path_NM"
echo
"
$ac_t
""
$NM
"
1>&6
echo
$ac_n
"checking whether ln -s works""...
$ac_c
"
1>&6
echo
"configure:15
01
: checking whether ln -s works"
>
&5
echo
"configure:15
42
: checking whether ln -s works"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_prog_LN_S
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -1518,7 +1559,7 @@ else
fi
echo
$ac_n
"checking how to recognise dependant libraries""...
$ac_c
"
1>&6
echo
"configure:15
22
: checking how to recognise dependant libraries"
>
&5
echo
"configure:15
63
: checking how to recognise dependant libraries"
>
&5
if
eval
"test
\"
`
echo
'$''{'
lt_cv_deplibs_check_method
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -1659,13 +1700,13 @@ file_magic_cmd=$lt_cv_file_magic_cmd
deplibs_check_method
=
$lt_cv_deplibs_check_method
echo
$ac_n
"checking for object suffix""...
$ac_c
"
1>&6
echo
"configure:1
663
: checking for object suffix"
>
&5
echo
"configure:1
704
: checking for object suffix"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_objext
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
rm
-f
conftest
*
echo
'int i = 1;'
>
conftest.
$ac_ext
if
{
(
eval echo
configure:1
669
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:1
710
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
for
ac_file
in
conftest.
*
;
do
case
$ac_file
in
*
.c
)
;;
...
...
@@ -1685,7 +1726,7 @@ ac_objext=$ac_cv_objext
echo
$ac_n
"checking for executable suffix""...
$ac_c
"
1>&6
echo
"configure:1
689
: checking for executable suffix"
>
&5
echo
"configure:1
730
: checking for executable suffix"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_exeext
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -1695,7 +1736,7 @@ else
rm
-f
conftest
*
echo
'int main () { return 0; }'
>
conftest.
$ac_ext
ac_cv_exeext
=
if
{
(
eval echo
configure:1
699
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:1
740
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
;
then
for
file
in
conftest.
*
;
do
case
$file
in
*
.c
|
*
.o
|
*
.obj
)
;;
...
...
@@ -1728,7 +1769,7 @@ case "$deplibs_check_method" in
file_magic
*
)
if
test
"
$file_magic_cmd
"
=
'${MAGIC}'
;
then
echo
$ac_n
"checking for
${
ac_tool_prefix
}
file""...
$ac_c
"
1>&6
echo
"configure:17
32
: checking for
${
ac_tool_prefix
}
file"
>
&5
echo
"configure:17
73
: checking for
${
ac_tool_prefix
}
file"
>
&5
if
eval
"test
\"
`
echo
'$''{'
lt_cv_path_MAGIC
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -1790,7 +1831,7 @@ fi
if
test
-z
"
$lt_cv_path_MAGIC
"
;
then
if
test
-n
"
$ac_tool_prefix
"
;
then
echo
$ac_n
"checking for file""...
$ac_c
"
1>&6
echo
"configure:1
794
: checking for file"
>
&5
echo
"configure:1
835
: checking for file"
>
&5
if
eval
"test
\"
`
echo
'$''{'
lt_cv_path_MAGIC
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -1861,7 +1902,7 @@ esac
# Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
set
dummy
${
ac_tool_prefix
}
ranlib
;
ac_word
=
$2
echo
$ac_n
"checking for
$ac_word
""...
$ac_c
"
1>&6
echo
"configure:1
865
: checking for
$ac_word
"
>
&5
echo
"configure:1
906
: checking for
$ac_word
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_prog_RANLIB
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -1893,7 +1934,7 @@ if test -n "$ac_tool_prefix"; then
# Extract the first word of "ranlib", so it can be a program name with args.
set
dummy ranlib
;
ac_word
=
$2
echo
$ac_n
"checking for
$ac_word
""...
$ac_c
"
1>&6
echo
"configure:1
897
: checking for
$ac_word
"
>
&5
echo
"configure:1
938
: checking for
$ac_word
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_prog_RANLIB
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -1928,7 +1969,7 @@ fi
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
set
dummy
${
ac_tool_prefix
}
strip
;
ac_word
=
$2
echo
$ac_n
"checking for
$ac_word
""...
$ac_c
"
1>&6
echo
"configure:19
32
: checking for
$ac_word
"
>
&5
echo
"configure:19
73
: checking for
$ac_word
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_prog_STRIP
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -1960,7 +2001,7 @@ if test -n "$ac_tool_prefix"; then
# Extract the first word of "strip", so it can be a program name with args.
set
dummy strip
;
ac_word
=
$2
echo
$ac_n
"checking for
$ac_word
""...
$ac_c
"
1>&6
echo
"configure:
1964
: checking for
$ac_word
"
>
&5
echo
"configure:
2005
: checking for
$ac_word
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_prog_STRIP
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -2027,8 +2068,8 @@ test x"$pic_mode" = xno && libtool_flags="$libtool_flags --prefer-non-pic"
case
"
$host
"
in
*
-
*
-irix6
*
)
# Find out which ABI we are using.
echo
'#line 20
31
"configure"'
>
conftest.
$ac_ext
if
{
(
eval echo
configure:20
32
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
echo
'#line 20
72
"configure"'
>
conftest.
$ac_ext
if
{
(
eval echo
configure:20
73
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
case
"
`
/usr/bin/file conftest.o
`
"
in
*
32-bit
*
)
LD
=
"
${
LD
-ld
}
-32"
...
...
@@ -2049,7 +2090,7 @@ case "$host" in
SAVE_CFLAGS
=
"
$CFLAGS
"
CFLAGS
=
"
$CFLAGS
-belf"
echo
$ac_n
"checking whether the C compiler needs -belf""...
$ac_c
"
1>&6
echo
"configure:20
53
: checking whether the C compiler needs -belf"
>
&5
echo
"configure:20
94
: checking whether the C compiler needs -belf"
>
&5
if
eval
"test
\"
`
echo
'$''{'
lt_cv_cc_needs_belf
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -2062,14 +2103,14 @@ ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$a
cross_compiling
=
$ac_cv_prog_cc_cross
cat
>
conftest.
$ac_ext
<<
EOF
#line 2
066
"configure"
#line 2
107
"configure"
#include "confdefs.h"
int main() {
; return 0; }
EOF
if
{
(
eval echo
configure:2
073
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:2
114
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
lt_cv_cc_needs_belf
=
yes
else
...
...
@@ -2099,7 +2140,7 @@ echo "$ac_t""$lt_cv_cc_needs_belf" 1>&6
# Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
set
dummy
${
ac_tool_prefix
}
dlltool
;
ac_word
=
$2
echo
$ac_n
"checking for
$ac_word
""...
$ac_c
"
1>&6
echo
"configure:21
03
: checking for
$ac_word
"
>
&5
echo
"configure:21
44
: checking for
$ac_word
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_prog_DLLTOOL
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -2131,7 +2172,7 @@ if test -n "$ac_tool_prefix"; then
# Extract the first word of "dlltool", so it can be a program name with args.
set
dummy dlltool
;
ac_word
=
$2
echo
$ac_n
"checking for
$ac_word
""...
$ac_c
"
1>&6
echo
"configure:21
35
: checking for
$ac_word
"
>
&5
echo
"configure:21
76
: checking for
$ac_word
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_prog_DLLTOOL
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -2166,7 +2207,7 @@ fi
# Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
set
dummy
${
ac_tool_prefix
}
as
;
ac_word
=
$2
echo
$ac_n
"checking for
$ac_word
""...
$ac_c
"
1>&6
echo
"configure:2
170
: checking for
$ac_word
"
>
&5
echo
"configure:2
211
: checking for
$ac_word
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_prog_AS
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -2198,7 +2239,7 @@ if test -n "$ac_tool_prefix"; then
# Extract the first word of "as", so it can be a program name with args.
set
dummy as
;
ac_word
=
$2
echo
$ac_n
"checking for
$ac_word
""...
$ac_c
"
1>&6
echo
"configure:22
02
: checking for
$ac_word
"
>
&5
echo
"configure:22
43
: checking for
$ac_word
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_prog_AS
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -2233,7 +2274,7 @@ fi
# Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
set
dummy
${
ac_tool_prefix
}
objdump
;
ac_word
=
$2
echo
$ac_n
"checking for
$ac_word
""...
$ac_c
"
1>&6
echo
"configure:22
37
: checking for
$ac_word
"
>
&5
echo
"configure:22
78
: checking for
$ac_word
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_prog_OBJDUMP
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -2265,7 +2306,7 @@ if test -n "$ac_tool_prefix"; then
# Extract the first word of "objdump", so it can be a program name with args.
set
dummy objdump
;
ac_word
=
$2
echo
$ac_n
"checking for
$ac_word
""...
$ac_c
"
1>&6
echo
"configure:2
269
: checking for
$ac_word
"
>
&5
echo
"configure:2
310
: checking for
$ac_word
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_prog_OBJDUMP
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -2301,12 +2342,12 @@ fi
# recent cygwin and mingw systems supply a stub DllMain which the user
# can override, but on older systems we have to supply one
echo
$ac_n
"checking if libtool should supply DllMain function""...
$ac_c
"
1>&6
echo
"configure:23
05
: checking if libtool should supply DllMain function"
>
&5
echo
"configure:23
46
: checking if libtool should supply DllMain function"
>
&5
if
eval
"test
\"
`
echo
'$''{'
lt_cv_need_dllmain
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 23
10
"configure"
#line 23
51
"configure"
#include "confdefs.h"
int main() {
...
...
@@ -2314,7 +2355,7 @@ extern int __attribute__((__stdcall__)) DllMain(void*, int, void*);
DllMain (0, 0, 0);
; return 0; }
EOF
if
{
(
eval echo
configure:23
18
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:23
59
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
lt_cv_need_dllmain
=
no
else
...
...
@@ -2335,19 +2376,19 @@ echo "$ac_t""$lt_cv_need_dllmain" 1>&6
SAVE_CFLAGS
=
"
$CFLAGS
"
CFLAGS
=
"
$CFLAGS
-mdll"
echo
$ac_n
"checking how to link DLLs""...
$ac_c
"
1>&6
echo
"configure:23
39
: checking how to link DLLs"
>
&5
echo
"configure:23
80
: checking how to link DLLs"
>
&5
if
eval
"test
\"
`
echo
'$''{'
lt_cv_cc_dll_switch
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 23
44
"configure"
#line 23
85
"configure"
#include "confdefs.h"
int main() {
; return 0; }
EOF
if
{
(
eval echo
configure:23
51
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:23
92
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
lt_cv_cc_dll_switch
=
-mdll
else
...
...
@@ -2536,19 +2577,7 @@ fi
trap
'rm -f $CONFIG_STATUS conftest*; exit 1'
1 2 15
# Transform confdefs.h into DEFS.
# Protect against shell expansion while executing Makefile rules.
# Protect against Makefile macro expansion.
cat
>
conftest.defs
<<
\
EOF
s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%-D\1=\2%g
s%[ `~#
$^
&*(){}\\|;'"<>?]%\\&%g
s%\[%\\&%g
s%\]%\\&%g
s%\
$%$$
%g
EOF
DEFS
=
`
sed
-f
conftest.defs confdefs.h | tr
'\012'
' '
`
rm
-f
conftest.defs
DEFS
=
-DHAVE_CONFIG_H
# Without the "./", some shells look in PATH for config.status.
:
${
CONFIG_STATUS
=./config.status
}
...
...
@@ -2586,7 +2615,7 @@ done
ac_given_srcdir=
$srcdir
ac_given_INSTALL="
$INSTALL
"
trap 'rm -fr `echo "Makefile" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
trap 'rm -fr `echo "Makefile
config.h
" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
EOF
cat
>>
$CONFIG_STATUS
<<
EOF
...
...
@@ -2745,6 +2774,113 @@ s%@INSTALL@%$INSTALL%g
fi; done
rm -f conftest.s*
# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
# NAME is the cpp macro being defined and VALUE is the value it is being given.
#
# ac_d sets the value in "#define NAME VALUE" lines.
ac_dA='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
ac_dB='\([ ][ ]*\)[^ ]*%\1#\2'
ac_dC='\3'
ac_dD='%g'
# ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
ac_uA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
ac_uB='\([ ]\)%\1#\2define\3'
ac_uC=' '
ac_uD='\4%g'
# ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
ac_eA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
ac_eB='
$%
\1#\2define\3'
ac_eC=' '
ac_eD='%g'
if test "
${
CONFIG_HEADERS
+set
}
" != set; then
EOF
cat
>>
$CONFIG_STATUS
<<
EOF
CONFIG_HEADERS="config.h"
EOF
cat
>>
$CONFIG_STATUS
<<
\
EOF
fi
for ac_file in ..
$CONFIG_HEADERS
; do if test "x
$ac_file
" != x..; then
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
case "
$ac_file
" in
*:*) ac_file_in=`echo "
$ac_file
"|sed 's%[^:]*:%%'`
ac_file=`echo "
$ac_file
"|sed 's%:.*%%'` ;;
*) ac_file_in="
${
ac_file
}
.in" ;;
esac
echo creating
$ac_file
rm -f conftest.frag conftest.in conftest.out
ac_file_inputs=`echo
$ac_file_in
|sed -e "s%^%
$ac_given_srcdir
/%" -e "s%:%
$ac_given_srcdir
/%g"`
cat
$ac_file_inputs
> conftest.in
EOF
# Transform confdefs.h into a sed script conftest.vals that substitutes
# the proper values into config.h.in to produce config.h. And first:
# Protect against being on the right side of a sed subst in config.status.
# Protect against being in an unquoted here document in config.status.
rm
-f
conftest.vals
cat
>
conftest.hdr
<<
\
EOF
s/[\\&%]/\\&/g
s%[\\
$`
]%\\&%g
s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%
${
ac_dA
}
\1
${
ac_dB
}
\1
${
ac_dC
}
\2
${
ac_dD
}
%gp
s%ac_d%ac_u%gp
s%ac_u%ac_e%gp
EOF
sed
-n
-f
conftest.hdr confdefs.h
>
conftest.vals
rm
-f
conftest.hdr
# This sed command replaces #undef with comments. This is necessary, for
# example, in the case of _POSIX_SOURCE, which is predefined and required
# on some systems where configure will not decide to define it.
cat
>>
conftest.vals
<<
\
EOF
s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
EOF
# Break up conftest.vals because some shells have a limit on
# the size of here documents, and old seds have small limits too.
rm
-f
conftest.tail
while
:
do
ac_lines
=
`
grep
-c
.
conftest.vals
`
# grep -c gives empty output for an empty file on some AIX systems.
if
test
-z
"
$ac_lines
"
||
test
"
$ac_lines
"
-eq
0
;
then
break
;
fi
# Write a limited-size here document to conftest.frag.
echo
' cat > conftest.frag <<CEOF'
>>
$CONFIG_STATUS
sed
${
ac_max_here_lines
}
q conftest.vals
>>
$CONFIG_STATUS
echo
'CEOF
sed -f conftest.frag conftest.in > conftest.out
rm -f conftest.in
mv conftest.out conftest.in
'
>>
$CONFIG_STATUS
sed 1,
${
ac_max_here_lines
}
d conftest.vals
>
conftest.tail
rm
-f
conftest.vals
mv conftest.tail conftest.vals
done
rm
-f
conftest.vals
cat
>>
$CONFIG_STATUS
<<
\
EOF
rm -f conftest.frag conftest.h
echo "/*
$ac_file
. Generated automatically by configure. */" > conftest.h
cat conftest.in >> conftest.h
rm -f conftest.in
if cmp -s
$ac_file
conftest.h 2>/dev/null; then
echo "
$ac_file
is unchanged"
rm -f conftest.h
else
# Remove last slash and all that follows it. Not all systems have dirname.
ac_dir=`echo
$ac_file
|sed 's%/[^/][^/]*
$%
%'`
if test "
$ac_dir
" != "
$ac_file
" && test "
$ac_dir
" != .; then
# The file is in a subdirectory.
test ! -d "
$ac_dir
" && mkdir "
$ac_dir
"
fi
rm -f
$ac_file
mv conftest.h
$ac_file
fi
fi; done
EOF
cat
>>
$CONFIG_STATUS
<<
EOF
srcdir=
${
srcdir
}
...
...
libobjc/configure.in
View file @
d972a4c2
...
...
@@ -21,7 +21,7 @@
AC_PREREQ(2.13)
AC_INIT(objc/objc.h)
#
AC_CONFIG_HEADER(config.h)
AC_CONFIG_HEADER(config.h)
if test "${srcdir}" = "." ; then
if test "${with_target_subdir}" != "." ; then
...
...
@@ -91,6 +91,8 @@ the Objective C runtime system. If necessary, install gcc now with
AC_HEADER_STDC
AC_CHECK_HEADERS(sched.h)
# Determine CFLAGS for gthread.
AC_CACHE_CHECK([for gthread cflags],objc_cv_gthread_flags,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment