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
d56a25e1
Commit
d56a25e1
authored
Dec 03, 2007
by
Tom Tromey
Committed by
Tom Tromey
Dec 03, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
( 5)
From-SVN: r130586
parent
4d007574
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
76 additions
and
0 deletions
+76
-0
libcpp/ChangeLog
+6
-0
libcpp/config.in
+3
-0
libcpp/configure
+66
-0
libcpp/configure.ac
+1
-0
No files found.
libcpp/ChangeLog
View file @
d56a25e1
2007
-
12
-
03
Tom
Tromey
<
tromey
@
redhat.com
>
PR
preprocessor
/
34288
:
*
configure.ac
,
config.in
:
Rebuilt.
*
configure.ac
:
Check
for
ssize_t.
2007
-
11
-
30
Tom
Tromey
<
tromey
@
redhat.com
>
PR
preprocessor
/
32868
:
...
...
libcpp/config.in
View file @
d56a25e1
...
...
@@ -280,3 +280,6 @@
/* Define to `unsigned' if <sys/types.h> does not define. */
#undef size_t
/* Define to `int' if <sys/types.h> does not define. */
#undef ssize_t
libcpp/configure
View file @
d56a25e1
...
...
@@ -4114,6 +4114,72 @@ _ACEOF
fi
echo
"
$as_me
:
$LINENO
: checking for ssize_t"
>
&5
echo
$ECHO_N
"checking for ssize_t...
$ECHO_C
"
>
&6
if
test
"
${
ac_cv_type_ssize_t
+set
}
"
=
set
;
then
echo
$ECHO_N
"(cached)
$ECHO_C
"
>
&6
else
cat
>
conftest.
$ac_ext
<<
_ACEOF
/* confdefs.h. */
_ACEOF
cat
confdefs.h
>>
conftest.
$ac_ext
cat
>>
conftest.
$ac_ext
<<
_ACEOF
/* end confdefs.h. */
$ac_includes_default
int
main ()
{
if ((ssize_t *) 0)
return 0;
if (sizeof (ssize_t))
return 0;
;
return 0;
}
_ACEOF
rm
-f
conftest.
$ac_objext
if
{
(
eval echo
"
$as_me
:
$LINENO
:
\"
$ac_compile
\"
"
)
>
&5
(
eval
$ac_compile
)
2>conftest.er1
ac_status
=
$?
grep
-v
'^ *+'
conftest.er1
>
conftest.err
rm
-f
conftest.er1
cat
conftest.err
>
&5
echo
"
$as_me
:
$LINENO
:
\$
? =
$ac_status
"
>
&5
(
exit
$ac_status
)
;
}
&&
{
ac_try
=
'test -z "$ac_c_werror_flag"
|| test ! -s conftest.err'
{
(
eval echo
"
$as_me
:
$LINENO
:
\"
$ac_try
\"
"
)
>
&5
(
eval
$ac_try
)
2>&5
ac_status
=
$?
echo
"
$as_me
:
$LINENO
:
\$
? =
$ac_status
"
>
&5
(
exit
$ac_status
)
;
}
;
}
&&
{
ac_try
=
'test -s conftest.$ac_objext'
{
(
eval echo
"
$as_me
:
$LINENO
:
\"
$ac_try
\"
"
)
>
&5
(
eval
$ac_try
)
2>&5
ac_status
=
$?
echo
"
$as_me
:
$LINENO
:
\$
? =
$ac_status
"
>
&5
(
exit
$ac_status
)
;
}
;
}
;
then
ac_cv_type_ssize_t
=
yes
else
echo
"
$as_me
: failed program was:"
>
&5
sed
's/^/| /'
conftest.
$ac_ext
>
&5
ac_cv_type_ssize_t
=
no
fi
rm
-f
conftest.err conftest.
$ac_objext
conftest.
$ac_ext
fi
echo
"
$as_me
:
$LINENO
: result:
$ac_cv_type_ssize_t
"
>
&5
echo
"
${
ECHO_T
}
$ac_cv_type_ssize_t
"
>
&6
if
test
$ac_cv_type_ssize_t
=
yes
;
then
:
else
cat
>>
confdefs.h
<<
_ACEOF
#define ssize_t int
_ACEOF
fi
echo
"
$as_me
:
$LINENO
: checking whether struct tm is in sys/time.h or time.h"
>
&5
echo
$ECHO_N
"checking whether struct tm is in sys/time.h or time.h...
$ECHO_C
"
>
&6
if
test
"
${
ac_cv_struct_tm
+set
}
"
=
set
;
then
...
...
libcpp/configure.ac
View file @
d56a25e1
...
...
@@ -46,6 +46,7 @@ AC_C_INLINE
AC_FUNC_OBSTACK
AC_TYPE_OFF_T
AC_TYPE_SIZE_T
AC_CHECK_TYPE(ssize_t, int)
AC_STRUCT_TM
AC_CHECK_SIZEOF(int)
AC_CHECK_SIZEOF(long)
...
...
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