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
eead42e0
Commit
eead42e0
authored
Sep 03, 2009
by
Kai Tietz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Revert revision 151379 for linux bootstrap failure for gstdint.h
From-SVN: r151382
parent
9840d30a
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
20 additions
and
787 deletions
+20
-787
gcc/Makefile.in
+0
-1
gcc/aclocal.m4
+0
-1
gcc/config.in
+0
-3
gcc/configure
+20
-778
gcc/configure.ac
+0
-2
gcc/system.h
+0
-2
No files found.
gcc/Makefile.in
View file @
eead42e0
...
@@ -1621,7 +1621,6 @@ aclocal_deps = \
...
@@ -1621,7 +1621,6 @@ aclocal_deps = \
$(srcdir)
/../config/lib-prefix.m4
\
$(srcdir)
/../config/lib-prefix.m4
\
$(srcdir)
/../config/override.m4
\
$(srcdir)
/../config/override.m4
\
$(srcdir)
/../config/progtest.m4
\
$(srcdir)
/../config/progtest.m4
\
$(srcdir)
/../config/stdint.m4
\
$(srcdir)
/../config/unwind_ipinfo.m4
\
$(srcdir)
/../config/unwind_ipinfo.m4
\
$(srcdir)
/../config/warnings.m4
\
$(srcdir)
/../config/warnings.m4
\
$(srcdir)
/acinclude.m4
$(srcdir)
/acinclude.m4
...
...
gcc/aclocal.m4
View file @
eead42e0
...
@@ -114,7 +114,6 @@ m4_include([../config/lib-link.m4])
...
@@ -114,7 +114,6 @@ m4_include([../config/lib-link.m4])
m4_include([../config/lib-prefix.m4])
m4_include([../config/lib-prefix.m4])
m4_include([../config/override.m4])
m4_include([../config/override.m4])
m4_include([../config/progtest.m4])
m4_include([../config/progtest.m4])
m4_include([../config/stdint.m4])
m4_include([../config/unwind_ipinfo.m4])
m4_include([../config/unwind_ipinfo.m4])
m4_include([../config/warnings.m4])
m4_include([../config/warnings.m4])
m4_include([acinclude.m4])
m4_include([acinclude.m4])
gcc/config.in
View file @
eead42e0
...
@@ -1144,9 +1144,6 @@
...
@@ -1144,9 +1144,6 @@
#undef HAVE_MALLOC_H
#undef HAVE_MALLOC_H
#endif
#endif
#ifndef USED_FOR_TARGET
#undef HAVE_STDINT_H
#endif
/* Define to 1 if you have the `mbstowcs' function. */
/* Define to 1 if you have the `mbstowcs' function. */
#ifndef USED_FOR_TARGET
#ifndef USED_FOR_TARGET
...
...
gcc/configure
View file @
eead42e0
...
@@ -7522,417 +7522,6 @@ else
...
@@ -7522,417 +7522,6 @@ else
fi
fi
inttype_headers
=
`
echo
inttypes.h sys/inttypes.h | sed
-e
's/,/ /g'
`
acx_cv_header_stdint
=
stddef.h
acx_cv_header_stdint_kind
=
"(already complete)"
for
i
in
stdint.h
$inttype_headers
;
do
unset
ac_cv_type_uintptr_t
unset
ac_cv_type_uintmax_t
unset
ac_cv_type_int_least32_t
unset
ac_cv_type_int_fast32_t
unset
ac_cv_type_uint64_t
$as_echo_n
"looking for a compliant stdint.h in
$i
, "
>
&6
ac_fn_c_check_type
"
$LINENO
"
"uintmax_t"
"ac_cv_type_uintmax_t"
"#include <sys/types.h>
#include <
$i
>
"
if
test
"x
$ac_cv_type_uintmax_t
"
=
x
""
yes
;
then
:
acx_cv_header_stdint
=
$i
else
continue
fi
ac_fn_c_check_type
"
$LINENO
"
"uintptr_t"
"ac_cv_type_uintptr_t"
"#include <sys/types.h>
#include <
$i
>
"
if
test
"x
$ac_cv_type_uintptr_t
"
=
x
""
yes
;
then
:
else
acx_cv_header_stdint_kind
=
"(mostly complete)"
fi
ac_fn_c_check_type
"
$LINENO
"
"int_least32_t"
"ac_cv_type_int_least32_t"
"#include <sys/types.h>
#include <
$i
>
"
if
test
"x
$ac_cv_type_int_least32_t
"
=
x
""
yes
;
then
:
else
acx_cv_header_stdint_kind
=
"(mostly complete)"
fi
ac_fn_c_check_type
"
$LINENO
"
"int_fast32_t"
"ac_cv_type_int_fast32_t"
"#include <sys/types.h>
#include <
$i
>
"
if
test
"x
$ac_cv_type_int_fast32_t
"
=
x
""
yes
;
then
:
else
acx_cv_header_stdint_kind
=
"(mostly complete)"
fi
ac_fn_c_check_type
"
$LINENO
"
"uint64_t"
"ac_cv_type_uint64_t"
"#include <sys/types.h>
#include <
$i
>
"
if
test
"x
$ac_cv_type_uint64_t
"
=
x
""
yes
;
then
:
else
acx_cv_header_stdint_kind
=
"(lacks uint64_t)"
fi
break
done
if
test
"
$acx_cv_header_stdint
"
=
stddef.h
;
then
acx_cv_header_stdint_kind
=
"(lacks uintmax_t)"
for
i
in
stdint.h
$inttype_headers
;
do
unset
ac_cv_type_uintptr_t
unset
ac_cv_type_uint32_t
unset
ac_cv_type_uint64_t
$as_echo_n
"looking for an incomplete stdint.h in
$i
, "
>
&6
ac_fn_c_check_type
"
$LINENO
"
"uint32_t"
"ac_cv_type_uint32_t"
"#include <sys/types.h>
#include <
$i
>
"
if
test
"x
$ac_cv_type_uint32_t
"
=
x
""
yes
;
then
:
acx_cv_header_stdint
=
$i
else
continue
fi
ac_fn_c_check_type
"
$LINENO
"
"uint64_t"
"ac_cv_type_uint64_t"
"#include <sys/types.h>
#include <
$i
>
"
if
test
"x
$ac_cv_type_uint64_t
"
=
x
""
yes
;
then
:
fi
ac_fn_c_check_type
"
$LINENO
"
"uintptr_t"
"ac_cv_type_uintptr_t"
"#include <sys/types.h>
#include <
$i
>
"
if
test
"x
$ac_cv_type_uintptr_t
"
=
x
""
yes
;
then
:
fi
break
done
fi
if
test
"
$acx_cv_header_stdint
"
=
stddef.h
;
then
acx_cv_header_stdint_kind
=
"(u_intXX_t style)"
for
i
in
sys/types.h
$inttype_headers
;
do
unset
ac_cv_type_u_int32_t
unset
ac_cv_type_u_int64_t
$as_echo_n
"looking for u_intXX_t types in
$i
, "
>
&6
ac_fn_c_check_type
"
$LINENO
"
"u_int32_t"
"ac_cv_type_u_int32_t"
"#include <sys/types.h>
#include <
$i
>
"
if
test
"x
$ac_cv_type_u_int32_t
"
=
x
""
yes
;
then
:
acx_cv_header_stdint
=
$i
else
continue
fi
ac_fn_c_check_type
"
$LINENO
"
"u_int64_t"
"ac_cv_type_u_int64_t"
"#include <sys/types.h>
#include <
$i
>
"
if
test
"x
$ac_cv_type_u_int64_t
"
=
x
""
yes
;
then
:
fi
break
done
fi
if
test
"
$acx_cv_header_stdint
"
=
stddef.h
;
then
acx_cv_header_stdint_kind
=
"(using manual detection)"
fi
test
-z
"
$ac_cv_type_uintptr_t
"
&&
ac_cv_type_uintptr_t
=
no
test
-z
"
$ac_cv_type_uint64_t
"
&&
ac_cv_type_uint64_t
=
no
test
-z
"
$ac_cv_type_u_int64_t
"
&&
ac_cv_type_u_int64_t
=
no
test
-z
"
$ac_cv_type_int_least32_t
"
&&
ac_cv_type_int_least32_t
=
no
test
-z
"
$ac_cv_type_int_fast32_t
"
&&
ac_cv_type_int_fast32_t
=
no
# ----------------- Summarize what we found so far
{
$as_echo
"
$as_me
:
${
as_lineno
-
$LINENO
}
: checking what to include in gstdint.h"
>
&5
$as_echo_n
"checking what to include in gstdint.h... "
>
&6
;
}
case
`
$as_basename
--
gstdint.h
||
$as_expr
X/gstdint.h :
'.*/\([^/][^/]*\)/*$'
\|
\
Xgstdint.h :
'X\(//\)$'
\|
\
Xgstdint.h :
'X\(/\)'
\|
.
2>/dev/null
||
$as_echo
X/gstdint.h |
sed
'/^.*\/\([^/][^/]*\)\/*$/{
s//\1/
q
}
/^X\/\(\/\/\)$/{
s//\1/
q
}
/^X\/\(\/\).*/{
s//\1/
q
}
s/.*/./; q'
`
in
stdint.h
)
{
$as_echo
"
$as_me
:
${
as_lineno
-
$LINENO
}
: WARNING: are you sure you want it there?"
>
&5
$as_echo
"
$as_me
: WARNING: are you sure you want it there?"
>
&2
;
}
;;
inttypes.h
)
{
$as_echo
"
$as_me
:
${
as_lineno
-
$LINENO
}
: WARNING: are you sure you want it there?"
>
&5
$as_echo
"
$as_me
: WARNING: are you sure you want it there?"
>
&2
;
}
;;
*
)
;;
esac
{
$as_echo
"
$as_me
:
${
as_lineno
-
$LINENO
}
: result:
$acx_cv_header_stdint
$acx_cv_header_stdint_kind
"
>
&5
$as_echo
"
$acx_cv_header_stdint
$acx_cv_header_stdint_kind
"
>
&6
;
}
# ----------------- done included file, check C basic types --------
# Lacking an uintptr_t? Test size of void *
case
"
$acx_cv_header_stdint
:
$ac_cv_type_uintptr_t
"
in
stddef.h:
*
|
*
:no
)
# The cast to long int works around a bug in the HP C Compiler
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
# This bug is HP SR number 8606223364.
{
$as_echo
"
$as_me
:
${
as_lineno
-
$LINENO
}
: checking size of void *"
>
&5
$as_echo_n
"checking size of void *... "
>
&6
;
}
if
test
"
${
ac_cv_sizeof_void_p
+set
}
"
=
set
;
then
:
$as_echo_n
"(cached) "
>
&6
else
if
ac_fn_c_compute_int
"
$LINENO
"
"(long int) (sizeof (void *))"
"ac_cv_sizeof_void_p"
"
$ac_includes_default
"
;
then
:
else
if
test
"
$ac_cv_type_void_p
"
=
yes
;
then
{
{
$as_echo
"
$as_me
:
${
as_lineno
-
$LINENO
}
: error: in
\`
$ac_pwd
':"
>
&5
$as_echo
"
$as_me
: error: in
\`
$ac_pwd
':"
>
&2
;
}
{
as_fn_set_status 77
as_fn_error
"cannot compute sizeof (void *)
See
\`
config.log' for more details."
"
$LINENO
"
5
;
}
;
}
else
ac_cv_sizeof_void_p
=
0
fi
fi
fi
{
$as_echo
"
$as_me
:
${
as_lineno
-
$LINENO
}
: result:
$ac_cv_sizeof_void_p
"
>
&5
$as_echo
"
$ac_cv_sizeof_void_p
"
>
&6
;
}
cat
>>
confdefs.h
<<
_ACEOF
#define SIZEOF_VOID_P
$ac_cv_sizeof_void_p
_ACEOF
;;
esac
# Lacking an uint64_t? Test size of long
case
"
$acx_cv_header_stdint
:
$ac_cv_type_uint64_t
:
$ac_cv_type_u_int64_t
"
in
stddef.h:
*
:
*
|
*
:no:no
)
# The cast to long int works around a bug in the HP C Compiler
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
# This bug is HP SR number 8606223364.
{
$as_echo
"
$as_me
:
${
as_lineno
-
$LINENO
}
: checking size of long"
>
&5
$as_echo_n
"checking size of long... "
>
&6
;
}
if
test
"
${
ac_cv_sizeof_long
+set
}
"
=
set
;
then
:
$as_echo_n
"(cached) "
>
&6
else
if
ac_fn_c_compute_int
"
$LINENO
"
"(long int) (sizeof (long))"
"ac_cv_sizeof_long"
"
$ac_includes_default
"
;
then
:
else
if
test
"
$ac_cv_type_long
"
=
yes
;
then
{
{
$as_echo
"
$as_me
:
${
as_lineno
-
$LINENO
}
: error: in
\`
$ac_pwd
':"
>
&5
$as_echo
"
$as_me
: error: in
\`
$ac_pwd
':"
>
&2
;
}
{
as_fn_set_status 77
as_fn_error
"cannot compute sizeof (long)
See
\`
config.log' for more details."
"
$LINENO
"
5
;
}
;
}
else
ac_cv_sizeof_long
=
0
fi
fi
fi
{
$as_echo
"
$as_me
:
${
as_lineno
-
$LINENO
}
: result:
$ac_cv_sizeof_long
"
>
&5
$as_echo
"
$ac_cv_sizeof_long
"
>
&6
;
}
cat
>>
confdefs.h
<<
_ACEOF
#define SIZEOF_LONG
$ac_cv_sizeof_long
_ACEOF
;;
esac
if
test
$acx_cv_header_stdint
=
stddef.h
;
then
# Lacking a good header? Test size of everything and deduce all types.
# The cast to long int works around a bug in the HP C Compiler
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
# This bug is HP SR number 8606223364.
{
$as_echo
"
$as_me
:
${
as_lineno
-
$LINENO
}
: checking size of int"
>
&5
$as_echo_n
"checking size of int... "
>
&6
;
}
if
test
"
${
ac_cv_sizeof_int
+set
}
"
=
set
;
then
:
$as_echo_n
"(cached) "
>
&6
else
if
ac_fn_c_compute_int
"
$LINENO
"
"(long int) (sizeof (int))"
"ac_cv_sizeof_int"
"
$ac_includes_default
"
;
then
:
else
if
test
"
$ac_cv_type_int
"
=
yes
;
then
{
{
$as_echo
"
$as_me
:
${
as_lineno
-
$LINENO
}
: error: in
\`
$ac_pwd
':"
>
&5
$as_echo
"
$as_me
: error: in
\`
$ac_pwd
':"
>
&2
;
}
{
as_fn_set_status 77
as_fn_error
"cannot compute sizeof (int)
See
\`
config.log' for more details."
"
$LINENO
"
5
;
}
;
}
else
ac_cv_sizeof_int
=
0
fi
fi
fi
{
$as_echo
"
$as_me
:
${
as_lineno
-
$LINENO
}
: result:
$ac_cv_sizeof_int
"
>
&5
$as_echo
"
$ac_cv_sizeof_int
"
>
&6
;
}
cat
>>
confdefs.h
<<
_ACEOF
#define SIZEOF_INT
$ac_cv_sizeof_int
_ACEOF
# The cast to long int works around a bug in the HP C Compiler
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
# This bug is HP SR number 8606223364.
{
$as_echo
"
$as_me
:
${
as_lineno
-
$LINENO
}
: checking size of short"
>
&5
$as_echo_n
"checking size of short... "
>
&6
;
}
if
test
"
${
ac_cv_sizeof_short
+set
}
"
=
set
;
then
:
$as_echo_n
"(cached) "
>
&6
else
if
ac_fn_c_compute_int
"
$LINENO
"
"(long int) (sizeof (short))"
"ac_cv_sizeof_short"
"
$ac_includes_default
"
;
then
:
else
if
test
"
$ac_cv_type_short
"
=
yes
;
then
{
{
$as_echo
"
$as_me
:
${
as_lineno
-
$LINENO
}
: error: in
\`
$ac_pwd
':"
>
&5
$as_echo
"
$as_me
: error: in
\`
$ac_pwd
':"
>
&2
;
}
{
as_fn_set_status 77
as_fn_error
"cannot compute sizeof (short)
See
\`
config.log' for more details."
"
$LINENO
"
5
;
}
;
}
else
ac_cv_sizeof_short
=
0
fi
fi
fi
{
$as_echo
"
$as_me
:
${
as_lineno
-
$LINENO
}
: result:
$ac_cv_sizeof_short
"
>
&5
$as_echo
"
$ac_cv_sizeof_short
"
>
&6
;
}
cat
>>
confdefs.h
<<
_ACEOF
#define SIZEOF_SHORT
$ac_cv_sizeof_short
_ACEOF
# The cast to long int works around a bug in the HP C Compiler
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
# This bug is HP SR number 8606223364.
{
$as_echo
"
$as_me
:
${
as_lineno
-
$LINENO
}
: checking size of char"
>
&5
$as_echo_n
"checking size of char... "
>
&6
;
}
if
test
"
${
ac_cv_sizeof_char
+set
}
"
=
set
;
then
:
$as_echo_n
"(cached) "
>
&6
else
if
ac_fn_c_compute_int
"
$LINENO
"
"(long int) (sizeof (char))"
"ac_cv_sizeof_char"
"
$ac_includes_default
"
;
then
:
else
if
test
"
$ac_cv_type_char
"
=
yes
;
then
{
{
$as_echo
"
$as_me
:
${
as_lineno
-
$LINENO
}
: error: in
\`
$ac_pwd
':"
>
&5
$as_echo
"
$as_me
: error: in
\`
$ac_pwd
':"
>
&2
;
}
{
as_fn_set_status 77
as_fn_error
"cannot compute sizeof (char)
See
\`
config.log' for more details."
"
$LINENO
"
5
;
}
;
}
else
ac_cv_sizeof_char
=
0
fi
fi
fi
{
$as_echo
"
$as_me
:
${
as_lineno
-
$LINENO
}
: result:
$ac_cv_sizeof_char
"
>
&5
$as_echo
"
$ac_cv_sizeof_char
"
>
&6
;
}
cat
>>
confdefs.h
<<
_ACEOF
#define SIZEOF_CHAR
$ac_cv_sizeof_char
_ACEOF
{
$as_echo
"
$as_me
:
${
as_lineno
-
$LINENO
}
: checking for type equivalent to int8_t"
>
&5
$as_echo_n
"checking for type equivalent to int8_t... "
>
&6
;
}
case
"
$ac_cv_sizeof_char
"
in
1
)
acx_cv_type_int8_t
=
char
;;
*
)
{
as_fn_set_status please report a bug
as_fn_error
"no 8-bit type"
"
$LINENO
"
5
;
}
esac
{
$as_echo
"
$as_me
:
${
as_lineno
-
$LINENO
}
: result:
$acx_cv_type_int8_t
"
>
&5
$as_echo
"
$acx_cv_type_int8_t
"
>
&6
;
}
{
$as_echo
"
$as_me
:
${
as_lineno
-
$LINENO
}
: checking for type equivalent to int16_t"
>
&5
$as_echo_n
"checking for type equivalent to int16_t... "
>
&6
;
}
case
"
$ac_cv_sizeof_int
:
$ac_cv_sizeof_short
"
in
2:
*
)
acx_cv_type_int16_t
=
int
;;
*
:2
)
acx_cv_type_int16_t
=
short
;;
*
)
{
as_fn_set_status please report a bug
as_fn_error
"no 16-bit type"
"
$LINENO
"
5
;
}
esac
{
$as_echo
"
$as_me
:
${
as_lineno
-
$LINENO
}
: result:
$acx_cv_type_int16_t
"
>
&5
$as_echo
"
$acx_cv_type_int16_t
"
>
&6
;
}
{
$as_echo
"
$as_me
:
${
as_lineno
-
$LINENO
}
: checking for type equivalent to int32_t"
>
&5
$as_echo_n
"checking for type equivalent to int32_t... "
>
&6
;
}
case
"
$ac_cv_sizeof_int
:
$ac_cv_sizeof_long
"
in
4:
*
)
acx_cv_type_int32_t
=
int
;;
*
:4
)
acx_cv_type_int32_t
=
long
;;
*
)
{
as_fn_set_status please report a bug
as_fn_error
"no 32-bit type"
"
$LINENO
"
5
;
}
esac
{
$as_echo
"
$as_me
:
${
as_lineno
-
$LINENO
}
: result:
$acx_cv_type_int32_t
"
>
&5
$as_echo
"
$acx_cv_type_int32_t
"
>
&6
;
}
fi
# These tests are here to make the output prettier
if
test
"
$ac_cv_type_uint64_t
"
!=
yes
&&
test
"
$ac_cv_type_u_int64_t
"
!=
yes
;
then
case
"
$ac_cv_sizeof_long
"
in
8
)
acx_cv_type_int64_t
=
long
;;
esac
{
$as_echo
"
$as_me
:
${
as_lineno
-
$LINENO
}
: checking for type equivalent to int64_t"
>
&5
$as_echo_n
"checking for type equivalent to int64_t... "
>
&6
;
}
{
$as_echo
"
$as_me
:
${
as_lineno
-
$LINENO
}
: result:
${
acx_cv_type_int64_t
-
'using preprocessor symbols'
}
"
>
&5
$as_echo
"
${
acx_cv_type_int64_t
-
'using preprocessor symbols'
}
"
>
&6
;
}
fi
# Now we can use the above types
if
test
"
$ac_cv_type_uintptr_t
"
!=
yes
;
then
{
$as_echo
"
$as_me
:
${
as_lineno
-
$LINENO
}
: checking for type equivalent to intptr_t"
>
&5
$as_echo_n
"checking for type equivalent to intptr_t... "
>
&6
;
}
case
$ac_cv_sizeof_void_p
in
2
)
acx_cv_type_intptr_t
=
int16_t
;;
4
)
acx_cv_type_intptr_t
=
int32_t
;;
8
)
acx_cv_type_intptr_t
=
int64_t
;;
*
)
{
as_fn_set_status please report a bug
as_fn_error
"no equivalent for intptr_t"
"
$LINENO
"
5
;
}
esac
{
$as_echo
"
$as_me
:
${
as_lineno
-
$LINENO
}
: result:
$acx_cv_type_intptr_t
"
>
&5
$as_echo
"
$acx_cv_type_intptr_t
"
>
&6
;
}
fi
# ----------------- done all checks, emit header -------------
ac_config_commands
=
"
$ac_config_commands
gstdint.h"
# These tests can't be done till we know if we have limits.h.
# These tests can't be done till we know if we have limits.h.
{
$as_echo
"
$as_me
:
${
as_lineno
-
$LINENO
}
: checking for CHAR_BIT"
>
&5
{
$as_echo
"
$as_me
:
${
as_lineno
-
$LINENO
}
: checking for CHAR_BIT"
>
&5
$as_echo_n
"checking for CHAR_BIT... "
>
&6
;
}
$as_echo_n
"checking for CHAR_BIT... "
>
&6
;
}
...
@@ -11489,13 +11078,13 @@ if test "${lt_cv_nm_interface+set}" = set; then :
...
@@ -11489,13 +11078,13 @@ if test "${lt_cv_nm_interface+set}" = set; then :
else
else
lt_cv_nm_interface
=
"BSD nm"
lt_cv_nm_interface
=
"BSD nm"
echo
"int some_variable = 0;"
>
conftest.
$ac_ext
echo
"int some_variable = 0;"
>
conftest.
$ac_ext
(
eval echo
"
\"\$
as_me:11
492
:
$ac_compile
\"
"
>
&5
)
(
eval echo
"
\"\$
as_me:11
081
:
$ac_compile
\"
"
>
&5
)
(
eval
"
$ac_compile
"
2>conftest.err
)
(
eval
"
$ac_compile
"
2>conftest.err
)
cat
conftest.err
>
&5
cat
conftest.err
>
&5
(
eval echo
"
\"\$
as_me:11
495
:
$NM
\\\"
conftest.
$ac_objext
\\\"\"
"
>
&5
)
(
eval echo
"
\"\$
as_me:11
084
:
$NM
\\\"
conftest.
$ac_objext
\\\"\"
"
>
&5
)
(
eval
"
$NM
\"
conftest.
$ac_objext
\"
"
2>conftest.err
>
conftest.out
)
(
eval
"
$NM
\"
conftest.
$ac_objext
\"
"
2>conftest.err
>
conftest.out
)
cat
conftest.err
>
&5
cat
conftest.err
>
&5
(
eval echo
"
\"\$
as_me:11
498
: output
\"
"
>
&5
)
(
eval echo
"
\"\$
as_me:11
087
: output
\"
"
>
&5
)
cat
conftest.out
>
&5
cat
conftest.out
>
&5
if
$GREP
'External.*some_variable'
conftest.out
>
/dev/null
;
then
if
$GREP
'External.*some_variable'
conftest.out
>
/dev/null
;
then
lt_cv_nm_interface
=
"MS dumpbin"
lt_cv_nm_interface
=
"MS dumpbin"
...
@@ -12700,7 +12289,7 @@ ia64-*-hpux*)
...
@@ -12700,7 +12289,7 @@ ia64-*-hpux*)
;;
;;
*
-
*
-irix6
*
)
*
-
*
-irix6
*
)
# Find out which ABI we are using.
# Find out which ABI we are using.
echo
'#line 12
703
"configure"'
>
conftest.
$ac_ext
echo
'#line 12
292
"configure"'
>
conftest.
$ac_ext
if
{
{
eval echo
"
\"\$
as_me
\"
:
${
as_lineno
-
$LINENO
}
:
\"
$ac_compile
\"
"
;
}
>
&5
if
{
{
eval echo
"
\"\$
as_me
\"
:
${
as_lineno
-
$LINENO
}
:
\"
$ac_compile
\"
"
;
}
>
&5
(
eval
$ac_compile
)
2>&5
(
eval
$ac_compile
)
2>&5
ac_status
=
$?
ac_status
=
$?
...
@@ -14360,11 +13949,11 @@ else
...
@@ -14360,11 +13949,11 @@ else
-e
's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t'
\
-e
's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t'
\
-e
's: [^ ]*conftest\.: $lt_compiler_flag&:; t'
\
-e
's: [^ ]*conftest\.: $lt_compiler_flag&:; t'
\
-e
's:$: $lt_compiler_flag:'
`
-e
's:$: $lt_compiler_flag:'
`
(
eval echo
"
\"\$
as_me:1
4363
:
$lt_compile
\"
"
>
&5
)
(
eval echo
"
\"\$
as_me:1
3952
:
$lt_compile
\"
"
>
&5
)
(
eval
"
$lt_compile
"
2>conftest.err
)
(
eval
"
$lt_compile
"
2>conftest.err
)
ac_status
=
$?
ac_status
=
$?
cat
conftest.err
>
&5
cat
conftest.err
>
&5
echo
"
$as_me
:1
4367
:
\$
? =
$ac_status
"
>
&5
echo
"
$as_me
:1
3956
:
\$
? =
$ac_status
"
>
&5
if
(
exit
$ac_status
)
&&
test
-s
"
$ac_outfile
"
;
then
if
(
exit
$ac_status
)
&&
test
-s
"
$ac_outfile
"
;
then
# The compiler can only warn and ignore the option if not recognized
# The compiler can only warn and ignore the option if not recognized
# So say no if there are warnings other than the usual output.
# So say no if there are warnings other than the usual output.
...
@@ -14699,11 +14288,11 @@ else
...
@@ -14699,11 +14288,11 @@ else
-e
's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t'
\
-e
's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t'
\
-e
's: [^ ]*conftest\.: $lt_compiler_flag&:; t'
\
-e
's: [^ ]*conftest\.: $lt_compiler_flag&:; t'
\
-e
's:$: $lt_compiler_flag:'
`
-e
's:$: $lt_compiler_flag:'
`
(
eval echo
"
\"\$
as_me:14
702
:
$lt_compile
\"
"
>
&5
)
(
eval echo
"
\"\$
as_me:14
291
:
$lt_compile
\"
"
>
&5
)
(
eval
"
$lt_compile
"
2>conftest.err
)
(
eval
"
$lt_compile
"
2>conftest.err
)
ac_status
=
$?
ac_status
=
$?
cat
conftest.err
>
&5
cat
conftest.err
>
&5
echo
"
$as_me
:14
706
:
\$
? =
$ac_status
"
>
&5
echo
"
$as_me
:14
295
:
\$
? =
$ac_status
"
>
&5
if
(
exit
$ac_status
)
&&
test
-s
"
$ac_outfile
"
;
then
if
(
exit
$ac_status
)
&&
test
-s
"
$ac_outfile
"
;
then
# The compiler can only warn and ignore the option if not recognized
# The compiler can only warn and ignore the option if not recognized
# So say no if there are warnings other than the usual output.
# So say no if there are warnings other than the usual output.
...
@@ -14804,11 +14393,11 @@ else
...
@@ -14804,11 +14393,11 @@ else
-e
's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t'
\
-e
's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t'
\
-e
's: [^ ]*conftest\.: $lt_compiler_flag&:; t'
\
-e
's: [^ ]*conftest\.: $lt_compiler_flag&:; t'
\
-e
's:$: $lt_compiler_flag:'
`
-e
's:$: $lt_compiler_flag:'
`
(
eval echo
"
\"\$
as_me:14
807
:
$lt_compile
\"
"
>
&5
)
(
eval echo
"
\"\$
as_me:14
396
:
$lt_compile
\"
"
>
&5
)
(
eval
"
$lt_compile
"
2>out/conftest.err
)
(
eval
"
$lt_compile
"
2>out/conftest.err
)
ac_status
=
$?
ac_status
=
$?
cat
out/conftest.err
>
&5
cat
out/conftest.err
>
&5
echo
"
$as_me
:14
811
:
\$
? =
$ac_status
"
>
&5
echo
"
$as_me
:14
400
:
\$
? =
$ac_status
"
>
&5
if
(
exit
$ac_status
)
&&
test
-s
out/conftest2.
$ac_objext
if
(
exit
$ac_status
)
&&
test
-s
out/conftest2.
$ac_objext
then
then
# The compiler can only warn and ignore the option if not recognized
# The compiler can only warn and ignore the option if not recognized
...
@@ -14859,11 +14448,11 @@ else
...
@@ -14859,11 +14448,11 @@ else
-e
's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t'
\
-e
's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t'
\
-e
's: [^ ]*conftest\.: $lt_compiler_flag&:; t'
\
-e
's: [^ ]*conftest\.: $lt_compiler_flag&:; t'
\
-e
's:$: $lt_compiler_flag:'
`
-e
's:$: $lt_compiler_flag:'
`
(
eval echo
"
\"\$
as_me:14
862
:
$lt_compile
\"
"
>
&5
)
(
eval echo
"
\"\$
as_me:14
451
:
$lt_compile
\"
"
>
&5
)
(
eval
"
$lt_compile
"
2>out/conftest.err
)
(
eval
"
$lt_compile
"
2>out/conftest.err
)
ac_status
=
$?
ac_status
=
$?
cat
out/conftest.err
>
&5
cat
out/conftest.err
>
&5
echo
"
$as_me
:14
866
:
\$
? =
$ac_status
"
>
&5
echo
"
$as_me
:14
455
:
\$
? =
$ac_status
"
>
&5
if
(
exit
$ac_status
)
&&
test
-s
out/conftest2.
$ac_objext
if
(
exit
$ac_status
)
&&
test
-s
out/conftest2.
$ac_objext
then
then
# The compiler can only warn and ignore the option if not recognized
# The compiler can only warn and ignore the option if not recognized
...
@@ -17241,7 +16830,7 @@ else
...
@@ -17241,7 +16830,7 @@ else
lt_dlunknown
=
0
;
lt_dlno_uscore
=
1
;
lt_dlneed_uscore
=
2
lt_dlunknown
=
0
;
lt_dlno_uscore
=
1
;
lt_dlneed_uscore
=
2
lt_status
=
$lt_dlunknown
lt_status
=
$lt_dlunknown
cat
>
conftest.
$ac_ext
<<
_LT_EOF
cat
>
conftest.
$ac_ext
<<
_LT_EOF
#line 1
7244
"configure"
#line 1
6833
"configure"
#include "confdefs.h"
#include "confdefs.h"
#if HAVE_DLFCN_H
#if HAVE_DLFCN_H
...
@@ -17337,7 +16926,7 @@ else
...
@@ -17337,7 +16926,7 @@ else
lt_dlunknown
=
0
;
lt_dlno_uscore
=
1
;
lt_dlneed_uscore
=
2
lt_dlunknown
=
0
;
lt_dlno_uscore
=
1
;
lt_dlneed_uscore
=
2
lt_status
=
$lt_dlunknown
lt_status
=
$lt_dlunknown
cat
>
conftest.
$ac_ext
<<
_LT_EOF
cat
>
conftest.
$ac_ext
<<
_LT_EOF
#line 1
7340
"configure"
#line 1
6929
"configure"
#include "confdefs.h"
#include "confdefs.h"
#if HAVE_DLFCN_H
#if HAVE_DLFCN_H
...
@@ -19293,11 +18882,11 @@ else
...
@@ -19293,11 +18882,11 @@ else
-e
's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t'
\
-e
's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t'
\
-e
's: [^ ]*conftest\.: $lt_compiler_flag&:; t'
\
-e
's: [^ ]*conftest\.: $lt_compiler_flag&:; t'
\
-e
's:$: $lt_compiler_flag:'
`
-e
's:$: $lt_compiler_flag:'
`
(
eval echo
"
\"\$
as_me:1
9296
:
$lt_compile
\"
"
>
&5
)
(
eval echo
"
\"\$
as_me:1
8885
:
$lt_compile
\"
"
>
&5
)
(
eval
"
$lt_compile
"
2>conftest.err
)
(
eval
"
$lt_compile
"
2>conftest.err
)
ac_status
=
$?
ac_status
=
$?
cat
conftest.err
>
&5
cat
conftest.err
>
&5
echo
"
$as_me
:1
9300
:
\$
? =
$ac_status
"
>
&5
echo
"
$as_me
:1
8889
:
\$
? =
$ac_status
"
>
&5
if
(
exit
$ac_status
)
&&
test
-s
"
$ac_outfile
"
;
then
if
(
exit
$ac_status
)
&&
test
-s
"
$ac_outfile
"
;
then
# The compiler can only warn and ignore the option if not recognized
# The compiler can only warn and ignore the option if not recognized
# So say no if there are warnings other than the usual output.
# So say no if there are warnings other than the usual output.
...
@@ -19392,11 +18981,11 @@ else
...
@@ -19392,11 +18981,11 @@ else
-e
's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t'
\
-e
's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t'
\
-e
's: [^ ]*conftest\.: $lt_compiler_flag&:; t'
\
-e
's: [^ ]*conftest\.: $lt_compiler_flag&:; t'
\
-e
's:$: $lt_compiler_flag:'
`
-e
's:$: $lt_compiler_flag:'
`
(
eval echo
"
\"\$
as_me:1
9395
:
$lt_compile
\"
"
>
&5
)
(
eval echo
"
\"\$
as_me:1
8984
:
$lt_compile
\"
"
>
&5
)
(
eval
"
$lt_compile
"
2>out/conftest.err
)
(
eval
"
$lt_compile
"
2>out/conftest.err
)
ac_status
=
$?
ac_status
=
$?
cat
out/conftest.err
>
&5
cat
out/conftest.err
>
&5
echo
"
$as_me
:1
9399
:
\$
? =
$ac_status
"
>
&5
echo
"
$as_me
:1
8988
:
\$
? =
$ac_status
"
>
&5
if
(
exit
$ac_status
)
&&
test
-s
out/conftest2.
$ac_objext
if
(
exit
$ac_status
)
&&
test
-s
out/conftest2.
$ac_objext
then
then
# The compiler can only warn and ignore the option if not recognized
# The compiler can only warn and ignore the option if not recognized
...
@@ -19444,11 +19033,11 @@ else
...
@@ -19444,11 +19033,11 @@ else
-e
's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t'
\
-e
's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t'
\
-e
's: [^ ]*conftest\.: $lt_compiler_flag&:; t'
\
-e
's: [^ ]*conftest\.: $lt_compiler_flag&:; t'
\
-e
's:$: $lt_compiler_flag:'
`
-e
's:$: $lt_compiler_flag:'
`
(
eval echo
"
\"\$
as_me:19
447
:
$lt_compile
\"
"
>
&5
)
(
eval echo
"
\"\$
as_me:19
036
:
$lt_compile
\"
"
>
&5
)
(
eval
"
$lt_compile
"
2>out/conftest.err
)
(
eval
"
$lt_compile
"
2>out/conftest.err
)
ac_status
=
$?
ac_status
=
$?
cat
out/conftest.err
>
&5
cat
out/conftest.err
>
&5
echo
"
$as_me
:19
451
:
\$
? =
$ac_status
"
>
&5
echo
"
$as_me
:19
040
:
\$
? =
$ac_status
"
>
&5
if
(
exit
$ac_status
)
&&
test
-s
out/conftest2.
$ac_objext
if
(
exit
$ac_status
)
&&
test
-s
out/conftest2.
$ac_objext
then
then
# The compiler can only warn and ignore the option if not recognized
# The compiler can only warn and ignore the option if not recognized
...
@@ -25553,24 +25142,6 @@ cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
...
@@ -25553,24 +25142,6 @@ cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
#
#
# INIT-COMMANDS
# INIT-COMMANDS
#
#
GCC="
$GCC
"
CC="
$CC
"
acx_cv_header_stdint="
$acx_cv_header_stdint
"
acx_cv_type_int8_t="
$acx_cv_type_int8_t
"
acx_cv_type_int16_t="
$acx_cv_type_int16_t
"
acx_cv_type_int32_t="
$acx_cv_type_int32_t
"
acx_cv_type_int64_t="
$acx_cv_type_int64_t
"
acx_cv_type_intptr_t="
$acx_cv_type_intptr_t
"
ac_cv_type_uintmax_t="
$ac_cv_type_uintmax_t
"
ac_cv_type_uintptr_t="
$ac_cv_type_uintptr_t
"
ac_cv_type_uint64_t="
$ac_cv_type_uint64_t
"
ac_cv_type_u_int64_t="
$ac_cv_type_u_int64_t
"
ac_cv_type_u_int32_t="
$ac_cv_type_u_int32_t
"
ac_cv_type_int_least32_t="
$ac_cv_type_int_least32_t
"
ac_cv_type_int_fast32_t="
$ac_cv_type_int_fast32_t
"
ac_cv_sizeof_void_p="
$ac_cv_sizeof_void_p
"
subdirs='
$subdirs
'
subdirs='
$subdirs
'
_ACEOF
_ACEOF
...
@@ -25582,7 +25153,6 @@ for ac_config_target in $ac_config_targets
...
@@ -25582,7 +25153,6 @@ for ac_config_target in $ac_config_targets
do
do
case
$ac_config_target
in
case
$ac_config_target
in
"auto-host.h") CONFIG_HEADERS="
$CONFIG_HEADERS
auto-host.h:config.in" ;;
"auto-host.h") CONFIG_HEADERS="
$CONFIG_HEADERS
auto-host.h:config.in" ;;
"gstdint.h") CONFIG_COMMANDS="
$CONFIG_COMMANDS
gstdint.h" ;;
"as") CONFIG_FILES="
$CONFIG_FILES
as:exec-tool.in" ;;
"as") CONFIG_FILES="
$CONFIG_FILES
as:exec-tool.in" ;;
"collect-ld") CONFIG_FILES="
$CONFIG_FILES
collect-ld:exec-tool.in" ;;
"collect-ld") CONFIG_FILES="
$CONFIG_FILES
collect-ld:exec-tool.in" ;;
"nm") CONFIG_FILES="
$CONFIG_FILES
nm:exec-tool.in" ;;
"nm") CONFIG_FILES="
$CONFIG_FILES
nm:exec-tool.in" ;;
...
@@ -26166,334 +25736,6 @@ $as_echo "$as_me: executing $ac_file commands" >&6;}
...
@@ -26166,334 +25736,6 @@ $as_echo "$as_me: executing $ac_file commands" >&6;}
case
$ac_file$ac_mode
in
case
$ac_file$ac_mode
in
"gstdint.h":C)
if test "
$GCC
" = yes; then
echo "/* generated for " `
$CC
--version | sed 1q` "*/" > tmp-stdint.h
else
echo "/* generated for
$CC
*/" > tmp-stdint.h
fi
sed 's/^ *//' >> tmp-stdint.h <<EOF
#ifndef GCC_GENERATED_STDINT_H
#define GCC_GENERATED_STDINT_H 1
#include <sys/types.h>
EOF
if test "
$acx_cv_header_stdint
" != stdint.h; then
echo "#include <stddef.h>" >> tmp-stdint.h
fi
if test "
$acx_cv_header_stdint
" != stddef.h; then
echo "#include <
$acx_cv_header_stdint
>" >> tmp-stdint.h
fi
sed 's/^ *//' >> tmp-stdint.h <<EOF
/* glibc uses these symbols as guards to prevent redefinitions. */
#ifdef __int8_t_defined
#define _INT8_T
#define _INT16_T
#define _INT32_T
#endif
#ifdef __uint32_t_defined
#define _UINT32_T
#endif
EOF
# ----------------- done header, emit basic int types -------------
if test "
$acx_cv_header_stdint
" = stddef.h; then
sed 's/^ *//' >> tmp-stdint.h <<EOF
#ifndef _UINT8_T
#define _UINT8_T
#ifndef __uint8_t_defined
#define __uint8_t_defined
typedef unsigned
$acx_cv_type_int8_t
uint8_t;
#endif
#endif
#ifndef _UINT16_T
#define _UINT16_T
#ifndef __uint16_t_defined
#define __uint16_t_defined
typedef unsigned
$acx_cv_type_int16_t
uint16_t;
#endif
#endif
#ifndef _UINT32_T
#define _UINT32_T
#ifndef __uint32_t_defined
#define __uint32_t_defined
typedef unsigned
$acx_cv_type_int32_t
uint32_t;
#endif
#endif
#ifndef _INT8_T
#define _INT8_T
#ifndef __int8_t_defined
#define __int8_t_defined
typedef
$acx_cv_type_int8_t
int8_t;
#endif
#endif
#ifndef _INT16_T
#define _INT16_T
#ifndef __int16_t_defined
#define __int16_t_defined
typedef
$acx_cv_type_int16_t
int16_t;
#endif
#endif
#ifndef _INT32_T
#define _INT32_T
#ifndef __int32_t_defined
#define __int32_t_defined
typedef
$acx_cv_type_int32_t
int32_t;
#endif
#endif
EOF
elif test "
$ac_cv_type_u_int32_t
" = yes; then
sed 's/^ *//' >> tmp-stdint.h <<EOF
/* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
#ifndef _INT8_T
#define _INT8_T
#endif
#ifndef _INT16_T
#define _INT16_T
#endif
#ifndef _INT32_T
#define _INT32_T
#endif
#ifndef _UINT8_T
#define _UINT8_T
#ifndef __uint8_t_defined
#define __uint8_t_defined
typedef u_int8_t uint8_t;
#endif
#endif
#ifndef _UINT16_T
#define _UINT16_T
#ifndef __uint16_t_defined
#define __uint16_t_defined
typedef u_int16_t uint16_t;
#endif
#endif
#ifndef _UINT32_T
#define _UINT32_T
#ifndef __uint32_t_defined
#define __uint32_t_defined
typedef u_int32_t uint32_t;
#endif
#endif
EOF
else
sed 's/^ *//' >> tmp-stdint.h <<EOF
/* Some systems have guard macros to prevent redefinitions, define them. */
#ifndef _INT8_T
#define _INT8_T
#endif
#ifndef _INT16_T
#define _INT16_T
#endif
#ifndef _INT32_T
#define _INT32_T
#endif
#ifndef _UINT8_T
#define _UINT8_T
#endif
#ifndef _UINT16_T
#define _UINT16_T
#endif
#ifndef _UINT32_T
#define _UINT32_T
#endif
EOF
fi
# ------------- done basic int types, emit int64_t types ------------
if test "
$ac_cv_type_uint64_t
" = yes; then
sed 's/^ *//' >> tmp-stdint.h <<EOF
/* system headers have good uint64_t and int64_t */
#ifndef _INT64_T
#define _INT64_T
#endif
#ifndef _UINT64_T
#define _UINT64_T
#endif
EOF
elif test "
$ac_cv_type_u_int64_t
" = yes; then
sed 's/^ *//' >> tmp-stdint.h <<EOF
/* system headers have an u_int64_t (and int64_t) */
#ifndef _INT64_T
#define _INT64_T
#endif
#ifndef _UINT64_T
#define _UINT64_T
#ifndef __uint64_t_defined
#define __uint64_t_defined
typedef u_int64_t uint64_t;
#endif
#endif
EOF
elif test -n "
$acx_cv_type_int64_t
"; then
sed 's/^ *//' >> tmp-stdint.h <<EOF
/* architecture has a 64-bit type,
$acx_cv_type_int64_t
*/
#ifndef _INT64_T
#define _INT64_T
typedef
$acx_cv_type_int64_t
int64_t;
#endif
#ifndef _UINT64_T
#define _UINT64_T
#ifndef __uint64_t_defined
#define __uint64_t_defined
typedef unsigned
$acx_cv_type_int64_t
uint64_t;
#endif
#endif
EOF
else
sed 's/^ *//' >> tmp-stdint.h <<EOF
/* some common heuristics for int64_t, using compiler-specific tests */
#if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
#ifndef _INT64_T
#define _INT64_T
#ifndef __int64_t_defined
typedef long long int64_t;
#endif
#endif
#ifndef _UINT64_T
#define _UINT64_T
typedef unsigned long long uint64_t;
#endif
#elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
/* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
does not implement __extension__. But that compiler doesn't define
__GNUC_MINOR__. */
# if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
# define __extension__
# endif
# ifndef _INT64_T
# define _INT64_T
__extension__ typedef long long int64_t;
# endif
# ifndef _UINT64_T
# define _UINT64_T
__extension__ typedef unsigned long long uint64_t;
# endif
#elif !defined __STRICT_ANSI__
# if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
# ifndef _INT64_T
# define _INT64_T
typedef __int64 int64_t;
# endif
# ifndef _UINT64_T
# define _UINT64_T
typedef unsigned __int64 uint64_t;
# endif
# endif /* compiler */
#endif /* ANSI version */
EOF
fi
# ------------- done int64_t types, emit intptr types ------------
if test "
$ac_cv_type_uintptr_t
" != yes; then
sed 's/^ *//' >> tmp-stdint.h <<EOF
/* Define intptr_t based on sizeof(void*) =
$ac_cv_sizeof_void_p
*/
#ifndef __uintptr_t_defined
typedef u
$acx_cv_type_intptr_t
uintptr_t;
#endif
#ifndef __intptr_t_defined
typedef
$acx_cv_type_intptr_t
intptr_t;
#endif
EOF
fi
# ------------- done intptr types, emit int_least types ------------
if test "
$ac_cv_type_int_least32_t
" != yes; then
sed 's/^ *//' >> tmp-stdint.h <<EOF
/* Define int_least types */
typedef int8_t int_least8_t;
typedef int16_t int_least16_t;
typedef int32_t int_least32_t;
#ifdef _INT64_T
typedef int64_t int_least64_t;
#endif
typedef uint8_t uint_least8_t;
typedef uint16_t uint_least16_t;
typedef uint32_t uint_least32_t;
#ifdef _UINT64_T
typedef uint64_t uint_least64_t;
#endif
EOF
fi
# ------------- done intptr types, emit int_fast types ------------
if test "
$ac_cv_type_int_fast32_t
" != yes; then
sed 's/^ *//' >> tmp-stdint.h <<EOF
/* Define int_fast types. short is often slow */
typedef int8_t int_fast8_t;
typedef int int_fast16_t;
typedef int32_t int_fast32_t;
#ifdef _INT64_T
typedef int64_t int_fast64_t;
#endif
typedef uint8_t uint_fast8_t;
typedef unsigned int uint_fast16_t;
typedef uint32_t uint_fast32_t;
#ifdef _UINT64_T
typedef uint64_t uint_fast64_t;
#endif
EOF
fi
if test "
$ac_cv_type_uintmax_t
" != yes; then
sed 's/^ *//' >> tmp-stdint.h <<EOF
/* Define intmax based on what we found */
#ifdef _INT64_T
typedef int64_t intmax_t;
#else
typedef long intmax_t;
#endif
#ifdef _UINT64_T
typedef uint64_t uintmax_t;
#else
typedef unsigned long uintmax_t;
#endif
EOF
fi
sed 's/^ *//' >> tmp-stdint.h <<EOF
#endif /* GCC_GENERATED_STDINT_H */
EOF
if test -r gstdint.h && cmp -s tmp-stdint.h gstdint.h; then
rm -f tmp-stdint.h
else
mv -f tmp-stdint.h gstdint.h
fi
;;
"as":F) chmod +x as ;;
"as":F) chmod +x as ;;
"collect-ld":F) chmod +x collect-ld ;;
"collect-ld":F) chmod +x collect-ld ;;
"nm":F) chmod +x nm ;;
"nm":F) chmod +x nm ;;
...
...
gcc/configure.ac
View file @
eead42e0
...
@@ -939,8 +939,6 @@ AC_CHECK_HEADERS(limits.h stddef.h string.h strings.h stdlib.h time.h iconv.h \
...
@@ -939,8 +939,6 @@ AC_CHECK_HEADERS(limits.h stddef.h string.h strings.h stdlib.h time.h iconv.h \
AC_CHECK_HEADER(thread.h, [have_thread_h=yes], [have_thread_h=])
AC_CHECK_HEADER(thread.h, [have_thread_h=yes], [have_thread_h=])
AC_CHECK_HEADER(pthread.h, [have_pthread_h=yes], [have_pthread_h=])
AC_CHECK_HEADER(pthread.h, [have_pthread_h=yes], [have_pthread_h=])
GCC_HEADER_STDINT(gstdint.h)
# These tests can't be done till we know if we have limits.h.
# These tests can't be done till we know if we have limits.h.
gcc_AC_C_CHAR_BIT
gcc_AC_C_CHAR_BIT
AC_C_BIGENDIAN
AC_C_BIGENDIAN
...
...
gcc/system.h
View file @
eead42e0
...
@@ -414,8 +414,6 @@ extern void *calloc (size_t, size_t);
...
@@ -414,8 +414,6 @@ extern void *calloc (size_t, size_t);
extern
void
*
realloc
(
void
*
,
size_t
);
extern
void
*
realloc
(
void
*
,
size_t
);
#endif
#endif
#include "gstdint.h"
/* If the system doesn't provide strsignal, we get it defined in
/* If the system doesn't provide strsignal, we get it defined in
libiberty but no declaration is supplied. */
libiberty but no declaration is supplied. */
#if !defined (HAVE_STRSIGNAL) \
#if !defined (HAVE_STRSIGNAL) \
...
...
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