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
8a829fd9
Commit
8a829fd9
authored
Oct 22, 1998
by
Kaveh R. Ghazi
Committed by
Kaveh Ghazi
Oct 22, 1998
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* configure.in: Use AC_CONFIG_AUX_DIR($topsrcdir).
From-SVN: r23218
parent
d2ec8b39
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
103 additions
and
70 deletions
+103
-70
libchill/ChangeLog
+4
-0
libchill/configure
+60
-41
libchill/configure.in
+3
-0
libobjc/ChangeLog
+4
-0
libobjc/configure
+29
-29
libobjc/configure.in
+3
-0
No files found.
libchill/ChangeLog
View file @
8a829fd9
Thu Oct 22 14:37:35 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* configure.in: Use AC_CONFIG_AUX_DIR($topsrcdir).
1998-09-22 Ben Elliston <bje@cygnus.com>
* configure.in: This is GNU CHILL, not GNU Fortran.
...
...
libchill/configure
View file @
8a829fd9
...
...
@@ -529,13 +529,32 @@ if test "${srcdir}" = "." ; then
else
topsrcdir
=
${
srcdir
}
/..
fi
ac_aux_dir
=
for
ac_dir
in
$topsrcdir
$srcdir
/
$topsrcdir
;
do
if
test
-f
$ac_dir
/install-sh
;
then
ac_aux_dir
=
$ac_dir
ac_install_sh
=
"
$ac_aux_dir
/install-sh -c"
break
elif
test
-f
$ac_dir
/install.sh
;
then
ac_aux_dir
=
$ac_dir
ac_install_sh
=
"
$ac_aux_dir
/install.sh -c"
break
fi
done
if
test
-z
"
$ac_aux_dir
"
;
then
{
echo
"configure: error: can not find install-sh or install.sh in
$topsrcdir
$srcdir
/
$topsrcdir
"
1>&2
;
exit
1
;
}
fi
ac_config_guess
=
$ac_aux_dir
/config.guess
ac_config_sub
=
$ac_aux_dir
/config.sub
ac_configure
=
$ac_aux_dir
/configure
# This should be Cygnus configure.
# For chill we'll set CC to point at the built gcc, but this will get it into
# the makefiles
# Extract the first word of "gcc", so it can be a program name with args.
set
dummy gcc
;
ac_word
=
$2
echo
$ac_n
"checking for
$ac_word
""...
$ac_c
"
1>&6
echo
"configure:5
39
: checking for
$ac_word
"
>
&5
echo
"configure:5
58
: checking for
$ac_word
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_prog_CC
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -564,7 +583,7 @@ if test -z "$CC"; then
# Extract the first word of "cc", so it can be a program name with args.
set
dummy cc
;
ac_word
=
$2
echo
$ac_n
"checking for
$ac_word
""...
$ac_c
"
1>&6
echo
"configure:5
68
: checking for
$ac_word
"
>
&5
echo
"configure:5
87
: checking for
$ac_word
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_prog_CC
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -612,7 +631,7 @@ fi
fi
echo
$ac_n
"checking whether the C compiler (
$CC
$CFLAGS
$LDFLAGS
) works""...
$ac_c
"
1>&6
echo
"configure:6
16
: checking whether the C compiler (
$CC
$CFLAGS
$LDFLAGS
) works"
>
&5
echo
"configure:6
35
: checking whether the C compiler (
$CC
$CFLAGS
$LDFLAGS
) works"
>
&5
ac_ext
=
c
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
...
...
@@ -622,11 +641,11 @@ ac_link='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS
cross_compiling
=
$ac_cv_prog_cc_cross
cat
>
conftest.
$ac_ext
<<
EOF
#line 6
26
"configure"
#line 6
45
"configure"
#include "confdefs.h"
main(){return(0);}
EOF
if
{
(
eval echo
configure:6
30
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
if
{
(
eval echo
configure:6
49
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
ac_cv_prog_cc_works
=
yes
# If we can't run a trivial program, we are probably using a cross compiler.
if
(
./conftest
;
exit
)
2>/dev/null
;
then
...
...
@@ -646,12 +665,12 @@ if test $ac_cv_prog_cc_works = no; then
{
echo
"configure: error: installation or configuration problem: C compiler cannot create executables."
1>&2
;
exit
1
;
}
fi
echo
$ac_n
"checking whether the C compiler (
$CC
$CFLAGS
$LDFLAGS
) is a cross-compiler""...
$ac_c
"
1>&6
echo
"configure:6
50
: checking whether the C compiler (
$CC
$CFLAGS
$LDFLAGS
) is a cross-compiler"
>
&5
echo
"configure:6
69
: checking whether the C compiler (
$CC
$CFLAGS
$LDFLAGS
) is a cross-compiler"
>
&5
echo
"
$ac_t
""
$ac_cv_prog_cc_cross
"
1>&6
cross_compiling
=
$ac_cv_prog_cc_cross
echo
$ac_n
"checking whether we are using GNU C""...
$ac_c
"
1>&6
echo
"configure:6
55
: checking whether we are using GNU C"
>
&5
echo
"configure:6
74
: checking whether we are using GNU C"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_prog_gcc
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -660,7 +679,7 @@ else
yes;
#endif
EOF
if
{
ac_try
=
'${CC-cc} -E conftest.c'
;
{
(
eval echo
configure:6
64
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
;
}
| egrep yes
>
/dev/null 2>&1
;
then
if
{
ac_try
=
'${CC-cc} -E conftest.c'
;
{
(
eval echo
configure:6
83
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
;
}
| egrep yes
>
/dev/null 2>&1
;
then
ac_cv_prog_gcc
=
yes
else
ac_cv_prog_gcc
=
no
...
...
@@ -675,7 +694,7 @@ if test $ac_cv_prog_gcc = yes; then
ac_save_CFLAGS
=
"
$CFLAGS
"
CFLAGS
=
echo
$ac_n
"checking whether
${
CC
-cc
}
accepts -g""...
$ac_c
"
1>&6
echo
"configure:6
79
: checking whether
${
CC
-cc
}
accepts -g"
>
&5
echo
"configure:6
98
: checking whether
${
CC
-cc
}
accepts -g"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_prog_cc_g
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -706,7 +725,7 @@ fi
test
"
$AR
"
||
AR
=
ar
echo
$ac_n
"checking whether
${
MAKE
-make
}
sets
\$
{MAKE}""...
$ac_c
"
1>&6
echo
"configure:7
10
: checking whether
${
MAKE
-make
}
sets
\$
{MAKE}"
>
&5
echo
"configure:7
29
: checking whether
${
MAKE
-make
}
sets
\$
{MAKE}"
>
&5
set
dummy
${
MAKE
-make
}
;
ac_make
=
`
echo
"
$2
"
| sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_prog_make_
${
ac_make
}
_set
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
...
@@ -736,7 +755,7 @@ fi
# Sanity check for the cross-compilation case:
echo
$ac_n
"checking how to run the C preprocessor""...
$ac_c
"
1>&6
echo
"configure:7
40
: checking how to run the C preprocessor"
>
&5
echo
"configure:7
59
: checking how to run the C preprocessor"
>
&5
# On Suns, sometimes $CPP names a directory.
if
test
-n
"
$CPP
"
&&
test
-d
"
$CPP
"
;
then
CPP
=
...
...
@@ -751,13 +770,13 @@ else
# On the NeXT, cc -E runs the code through the compiler's parser,
# not just through cpp.
cat
>
conftest.
$ac_ext
<<
EOF
#line 7
55
"configure"
#line 7
74
"configure"
#include "confdefs.h"
#include <assert.h>
Syntax Error
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:7
61
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:7
80
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
ac_err
=
`
grep
-v
'^ *+'
conftest.out
`
if
test
-z
"
$ac_err
"
;
then
:
...
...
@@ -768,13 +787,13 @@ else
rm
-rf
conftest
*
CPP
=
"
${
CC
-cc
}
-E -traditional-cpp"
cat
>
conftest.
$ac_ext
<<
EOF
#line 7
72
"configure"
#line 7
91
"configure"
#include "confdefs.h"
#include <assert.h>
Syntax Error
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:7
78
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:7
97
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
ac_err
=
`
grep
-v
'^ *+'
conftest.out
`
if
test
-z
"
$ac_err
"
;
then
:
...
...
@@ -798,17 +817,17 @@ echo "$ac_t""$CPP" 1>&6
ac_safe
=
`
echo
"stdio.h"
| sed
'y%./+-%__p_%'
`
echo
$ac_n
"checking for stdio.h""...
$ac_c
"
1>&6
echo
"configure:8
02
: checking for stdio.h"
>
&5
echo
"configure:8
21
: checking for stdio.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 8
07
"configure"
#line 8
26
"configure"
#include "confdefs.h"
#include <stdio.h>
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:8
12
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:8
31
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
ac_err
=
`
grep
-v
'^ *+'
conftest.out
`
if
test
-z
"
$ac_err
"
;
then
rm
-rf
conftest
*
...
...
@@ -836,12 +855,12 @@ fi
echo
$ac_n
"checking for ANSI C header files""...
$ac_c
"
1>&6
echo
"configure:8
40
: checking for ANSI C header files"
>
&5
echo
"configure:8
59
: checking for ANSI C header files"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_header_stdc
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 8
45
"configure"
#line 8
64
"configure"
#include "confdefs.h"
#include <stdlib.h>
#include <stdarg.h>
...
...
@@ -849,7 +868,7 @@ else
#include <float.h>
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:8
53
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:8
72
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
ac_err
=
`
grep
-v
'^ *+'
conftest.out
`
if
test
-z
"
$ac_err
"
;
then
rm
-rf
conftest
*
...
...
@@ -866,7 +885,7 @@ rm -f conftest*
if
test
$ac_cv_header_stdc
=
yes
;
then
# SunOS 4.x string.h does not declare mem*, contrary to ANSI.
cat
>
conftest.
$ac_ext
<<
EOF
#line 8
70
"configure"
#line 8
89
"configure"
#include "confdefs.h"
#include <string.h>
EOF
...
...
@@ -884,7 +903,7 @@ fi
if
test
$ac_cv_header_stdc
=
yes
;
then
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
cat
>
conftest.
$ac_ext
<<
EOF
#line
888
"configure"
#line
907
"configure"
#include "confdefs.h"
#include <stdlib.h>
EOF
...
...
@@ -905,7 +924,7 @@ if test "$cross_compiling" = yes; then
:
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 9
09
"configure"
#line 9
28
"configure"
#include "confdefs.h"
#include <ctype.h>
#define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
...
...
@@ -916,7 +935,7 @@ if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
exit (0); }
EOF
if
{
(
eval echo
configure:9
20
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:9
39
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
&&
(
./conftest
;
exit
)
2>/dev/null
then
:
else
...
...
@@ -941,12 +960,12 @@ fi
echo
$ac_n
"checking for posix""...
$ac_c
"
1>&6
echo
"configure:9
45
: checking for posix"
>
&5
echo
"configure:9
64
: checking for posix"
>
&5
if
eval
"test
\"
`
echo
'$''{'
chill_cv_header_posix
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 9
50
"configure"
#line 9
69
"configure"
#include "confdefs.h"
#include <sys/types.h>
#include <unistd.h>
...
...
@@ -972,12 +991,12 @@ echo "$ac_t""$chill_cv_header_posix" 1>&6
# We can rely on the GNU library being posix-ish. I guess checking the
# header isn't actually like checking the functions, though...
echo
$ac_n
"checking for GNU library""...
$ac_c
"
1>&6
echo
"configure:9
76
: checking for GNU library"
>
&5
echo
"configure:9
95
: checking for GNU library"
>
&5
if
eval
"test
\"
`
echo
'$''{'
chill_cv_lib_gnu
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line
981
"configure"
#line
1000
"configure"
#include "confdefs.h"
#include <stdio.h>
#ifdef __GNU_LIBRARY__
...
...
@@ -1000,12 +1019,12 @@ fi
echo
"
$ac_t
""
$chill_cv_lib_gnu
"
1>&6
echo
$ac_n
"checking return type of signal handlers""...
$ac_c
"
1>&6
echo
"configure:10
04
: checking return type of signal handlers"
>
&5
echo
"configure:10
23
: checking return type of signal handlers"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_type_signal
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 10
09
"configure"
#line 10
28
"configure"
#include "confdefs.h"
#include <sys/types.h>
#include <signal.h>
...
...
@@ -1022,7 +1041,7 @@ int main() {
int i;
; return 0; }
EOF
if
{
(
eval echo
configure:10
26
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:10
45
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
ac_cv_type_signal
=
void
else
...
...
@@ -1043,12 +1062,12 @@ EOF
# we'll get atexit by default
if
test
$ac_cv_header_stdc
!=
yes
;
then
echo
$ac_n
"checking for atexit""...
$ac_c
"
1>&6
echo
"configure:10
47
: checking for atexit"
>
&5
echo
"configure:10
66
: checking for atexit"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func_atexit
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 10
52
"configure"
#line 10
71
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char atexit(); below. */
...
...
@@ -1071,7 +1090,7 @@ atexit();
; return 0; }
EOF
if
{
(
eval echo
configure:10
75
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
if
{
(
eval echo
configure:10
94
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
rm
-rf
conftest
*
eval
"ac_cv_func_atexit=yes"
else
...
...
@@ -1096,12 +1115,12 @@ else
EOF
echo
$ac_n
"checking for onexit""...
$ac_c
"
1>&6
echo
"configure:11
00
: checking for onexit"
>
&5
echo
"configure:11
19
: checking for onexit"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func_onexit
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 11
05
"configure"
#line 11
24
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char onexit(); below. */
...
...
@@ -1124,7 +1143,7 @@ onexit();
; return 0; }
EOF
if
{
(
eval echo
configure:11
28
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
if
{
(
eval echo
configure:11
47
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
rm
-rf
conftest
*
eval
"ac_cv_func_onexit=yes"
else
...
...
@@ -1142,12 +1161,12 @@ if eval "test \"`echo '$ac_cv_func_'onexit`\" = yes"; then
else
echo
"
$ac_t
""no"
1>&6
echo
$ac_n
"checking for on_exit""...
$ac_c
"
1>&6
echo
"configure:11
46
: checking for on_exit"
>
&5
echo
"configure:11
65
: checking for on_exit"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func_on_exit
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 11
51
"configure"
#line 11
70
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char on_exit(); below. */
...
...
@@ -1170,7 +1189,7 @@ on_exit();
; return 0; }
EOF
if
{
(
eval echo
configure:11
74
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
if
{
(
eval echo
configure:11
93
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
rm
-rf
conftest
*
eval
"ac_cv_func_on_exit=yes"
else
...
...
libchill/configure.in
View file @
8a829fd9
...
...
@@ -30,6 +30,9 @@ if test "${srcdir}" = "." ; then
else
topsrcdir=${srcdir}/..
fi
dnl This is needed for a multilibbed build in the source tree so
dnl that install-sh and config.sub get found.
AC_CONFIG_AUX_DIR($topsrcdir)
dnl Checks for programs.
# For chill we'll set CC to point at the built gcc, but this will get it into
...
...
libobjc/ChangeLog
View file @
8a829fd9
Thu Oct 22 14:34:06 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* configure.in: Use AC_CONFIG_AUX_DIR($topsrcdir).
Sat Oct 17 05:21:31 1998 Ovidiu Predescu <ovidiu@slip.net>
* objc-features.texi (Top): Changed the email address.
...
...
libobjc/configure
View file @
8a829fd9
...
...
@@ -533,13 +533,32 @@ if test "${srcdir}" = "." ; then
else
topsrcdir
=
${
srcdir
}
/..
fi
ac_aux_dir
=
for
ac_dir
in
$topsrcdir
$srcdir
/
$topsrcdir
;
do
if
test
-f
$ac_dir
/install-sh
;
then
ac_aux_dir
=
$ac_dir
ac_install_sh
=
"
$ac_aux_dir
/install-sh -c"
break
elif
test
-f
$ac_dir
/install.sh
;
then
ac_aux_dir
=
$ac_dir
ac_install_sh
=
"
$ac_aux_dir
/install.sh -c"
break
fi
done
if
test
-z
"
$ac_aux_dir
"
;
then
{
echo
"configure: error: can not find install-sh or install.sh in
$topsrcdir
$srcdir
/
$topsrcdir
"
1>&2
;
exit
1
;
}
fi
ac_config_guess
=
$ac_aux_dir
/config.guess
ac_config_sub
=
$ac_aux_dir
/config.sub
ac_configure
=
$ac_aux_dir
/configure
# This should be Cygnus configure.
# For ObjC we'll set CC to point at the built gcc, but this will get it into
# the makefiles
# Extract the first word of "gcc", so it can be a program name with args.
set
dummy gcc
;
ac_word
=
$2
echo
$ac_n
"checking for
$ac_word
""...
$ac_c
"
1>&6
echo
"configure:5
43
: checking for
$ac_word
"
>
&5
echo
"configure:5
62
: checking for
$ac_word
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_prog_CC
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -568,7 +587,7 @@ if test -z "$CC"; then
# Extract the first word of "cc", so it can be a program name with args.
set
dummy cc
;
ac_word
=
$2
echo
$ac_n
"checking for
$ac_word
""...
$ac_c
"
1>&6
echo
"configure:5
72
: checking for
$ac_word
"
>
&5
echo
"configure:5
91
: checking for
$ac_word
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_prog_CC
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -616,7 +635,7 @@ fi
fi
echo
$ac_n
"checking whether the C compiler (
$CC
$CFLAGS
$LDFLAGS
) works""...
$ac_c
"
1>&6
echo
"configure:6
20
: checking whether the C compiler (
$CC
$CFLAGS
$LDFLAGS
) works"
>
&5
echo
"configure:6
39
: checking whether the C compiler (
$CC
$CFLAGS
$LDFLAGS
) works"
>
&5
ac_ext
=
c
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
...
...
@@ -626,11 +645,11 @@ ac_link='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS
cross_compiling
=
$ac_cv_prog_cc_cross
cat
>
conftest.
$ac_ext
<<
EOF
#line 6
30
"configure"
#line 6
49
"configure"
#include "confdefs.h"
main(){return(0);}
EOF
if
{
(
eval echo
configure:6
34
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
if
{
(
eval echo
configure:6
53
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
ac_cv_prog_cc_works
=
yes
# If we can't run a trivial program, we are probably using a cross compiler.
if
(
./conftest
;
exit
)
2>/dev/null
;
then
...
...
@@ -650,12 +669,12 @@ if test $ac_cv_prog_cc_works = no; then
{
echo
"configure: error: installation or configuration problem: C compiler cannot create executables."
1>&2
;
exit
1
;
}
fi
echo
$ac_n
"checking whether the C compiler (
$CC
$CFLAGS
$LDFLAGS
) is a cross-compiler""...
$ac_c
"
1>&6
echo
"configure:6
54
: checking whether the C compiler (
$CC
$CFLAGS
$LDFLAGS
) is a cross-compiler"
>
&5
echo
"configure:6
73
: checking whether the C compiler (
$CC
$CFLAGS
$LDFLAGS
) is a cross-compiler"
>
&5
echo
"
$ac_t
""
$ac_cv_prog_cc_cross
"
1>&6
cross_compiling
=
$ac_cv_prog_cc_cross
echo
$ac_n
"checking whether we are using GNU C""...
$ac_c
"
1>&6
echo
"configure:6
59
: checking whether we are using GNU C"
>
&5
echo
"configure:6
78
: checking whether we are using GNU C"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_prog_gcc
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -664,7 +683,7 @@ else
yes;
#endif
EOF
if
{
ac_try
=
'${CC-cc} -E conftest.c'
;
{
(
eval echo
configure:6
68
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
;
}
| egrep yes
>
/dev/null 2>&1
;
then
if
{
ac_try
=
'${CC-cc} -E conftest.c'
;
{
(
eval echo
configure:6
87
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
;
}
| egrep yes
>
/dev/null 2>&1
;
then
ac_cv_prog_gcc
=
yes
else
ac_cv_prog_gcc
=
no
...
...
@@ -679,7 +698,7 @@ if test $ac_cv_prog_gcc = yes; then
ac_save_CFLAGS
=
"
$CFLAGS
"
CFLAGS
=
echo
$ac_n
"checking whether
${
CC
-cc
}
accepts -g""...
$ac_c
"
1>&6
echo
"configure:
683
: checking whether
${
CC
-cc
}
accepts -g"
>
&5
echo
"configure:
702
: checking whether
${
CC
-cc
}
accepts -g"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_prog_cc_g
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -715,7 +734,7 @@ else
# 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:7
19
: checking for
$ac_word
"
>
&5
echo
"configure:7
38
: 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
...
...
@@ -742,25 +761,6 @@ else
fi
fi
ac_aux_dir
=
for
ac_dir
in
$srcdir
$srcdir
/..
$srcdir
/../..
;
do
if
test
-f
$ac_dir
/install-sh
;
then
ac_aux_dir
=
$ac_dir
ac_install_sh
=
"
$ac_aux_dir
/install-sh -c"
break
elif
test
-f
$ac_dir
/install.sh
;
then
ac_aux_dir
=
$ac_dir
ac_install_sh
=
"
$ac_aux_dir
/install.sh -c"
break
fi
done
if
test
-z
"
$ac_aux_dir
"
;
then
{
echo
"configure: error: can not find install-sh or install.sh in
$srcdir
$srcdir
/..
$srcdir
/../.."
1>&2
;
exit
1
;
}
fi
ac_config_guess
=
$ac_aux_dir
/config.guess
ac_config_sub
=
$ac_aux_dir
/config.sub
ac_configure
=
$ac_aux_dir
/configure
# This should be Cygnus configure.
# Find a good install program. We prefer a C program (faster),
# so one script is as good as another. But avoid the broken or
# incompatible versions:
...
...
libobjc/configure.in
View file @
8a829fd9
...
...
@@ -31,6 +31,9 @@ if test "${srcdir}" = "." ; then
else
topsrcdir=${srcdir}/..
fi
dnl This is needed for a multilibbed build in the source tree so
dnl that install-sh and config.sub get found.
AC_CONFIG_AUX_DIR($topsrcdir)
dnl Checks for programs.
# For ObjC we'll set CC to point at the built gcc, but this will get it into
...
...
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