Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Postgres FD Implementation
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Abuhujair Javed
Postgres FD Implementation
Commits
1ce7b0c8
Commit
1ce7b0c8
authored
Feb 06, 1997
by
Marc G. Fournier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
The test for union semun requires <sys/ipc.h>
Pointed out by Bruce
parent
89868af4
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
36 additions
and
34 deletions
+36
-34
src/configure
src/configure
+35
-34
src/configure.in
src/configure.in
+1
-0
No files found.
src/configure
View file @
1ce7b0c8
...
@@ -2644,12 +2644,13 @@ cat > conftest.$ac_ext <<EOF
...
@@ -2644,12 +2644,13 @@ cat > conftest.$ac_ext <<EOF
#line 2645 "configure"
#line 2645 "configure"
#include "confdefs.h"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/types.h>
#include <sys/ipc.h>
#include <sys/sem.h>
#include <sys/sem.h>
int main() {
int main() {
union semun semun;
union semun semun;
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:265
3
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
if
{
(
eval echo
configure:265
4
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
cat
>>
confdefs.h
<<
\
EOF
cat
>>
confdefs.h
<<
\
EOF
#define HAVE_UNION_SEMUN 1
#define HAVE_UNION_SEMUN 1
...
@@ -2665,13 +2666,13 @@ rm -f conftest*
...
@@ -2665,13 +2666,13 @@ rm -f conftest*
if
test
$ac_cv_prog_gcc
=
yes
;
then
if
test
$ac_cv_prog_gcc
=
yes
;
then
echo
$ac_n
"checking whether
${
CC
-cc
}
needs -traditional""...
$ac_c
"
1>&6
echo
$ac_n
"checking whether
${
CC
-cc
}
needs -traditional""...
$ac_c
"
1>&6
echo
"configure:26
69
: checking whether
${
CC
-cc
}
needs -traditional"
>
&5
echo
"configure:26
70
: checking whether
${
CC
-cc
}
needs -traditional"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_prog_gcc_traditional
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_prog_gcc_traditional
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
else
ac_pattern
=
"Autoconf.*'x'"
ac_pattern
=
"Autoconf.*'x'"
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 267
5
"configure"
#line 267
6
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <sgtty.h>
#include <sgtty.h>
Autoconf TIOCGETP
Autoconf TIOCGETP
...
@@ -2689,7 +2690,7 @@ rm -f conftest*
...
@@ -2689,7 +2690,7 @@ rm -f conftest*
if
test
$ac_cv_prog_gcc_traditional
=
no
;
then
if
test
$ac_cv_prog_gcc_traditional
=
no
;
then
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 269
3
"configure"
#line 269
4
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <termio.h>
#include <termio.h>
Autoconf TCGETA
Autoconf TCGETA
...
@@ -2711,7 +2712,7 @@ echo "$ac_t""$ac_cv_prog_gcc_traditional" 1>&6
...
@@ -2711,7 +2712,7 @@ echo "$ac_t""$ac_cv_prog_gcc_traditional" 1>&6
fi
fi
echo
$ac_n
"checking for 8-bit clean memcmp""...
$ac_c
"
1>&6
echo
$ac_n
"checking for 8-bit clean memcmp""...
$ac_c
"
1>&6
echo
"configure:271
5
: checking for 8-bit clean memcmp"
>
&5
echo
"configure:271
6
: checking for 8-bit clean memcmp"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func_memcmp_clean
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func_memcmp_clean
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
else
...
@@ -2719,7 +2720,7 @@ else
...
@@ -2719,7 +2720,7 @@ else
ac_cv_func_memcmp_clean
=
no
ac_cv_func_memcmp_clean
=
no
else
else
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 272
3
"configure"
#line 272
4
"configure"
#include "confdefs.h"
#include "confdefs.h"
main()
main()
...
@@ -2729,7 +2730,7 @@ main()
...
@@ -2729,7 +2730,7 @@ main()
}
}
EOF
EOF
if
{
(
eval echo
configure:273
3
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:273
4
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
&&
(
./conftest
;
exit
)
2>/dev/null
then
then
ac_cv_func_memcmp_clean
=
yes
ac_cv_func_memcmp_clean
=
yes
else
else
...
@@ -2747,12 +2748,12 @@ echo "$ac_t""$ac_cv_func_memcmp_clean" 1>&6
...
@@ -2747,12 +2748,12 @@ echo "$ac_t""$ac_cv_func_memcmp_clean" 1>&6
test
$ac_cv_func_memcmp_clean
=
no
&&
LIBOBJS
=
"
$LIBOBJS
memcmp.o"
test
$ac_cv_func_memcmp_clean
=
no
&&
LIBOBJS
=
"
$LIBOBJS
memcmp.o"
echo
$ac_n
"checking return type of signal handlers""...
$ac_c
"
1>&6
echo
$ac_n
"checking return type of signal handlers""...
$ac_c
"
1>&6
echo
"configure:275
1
: checking return type of signal handlers"
>
&5
echo
"configure:275
2
: checking return type of signal handlers"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_type_signal
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_type_signal
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
else
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 275
6
"configure"
#line 275
7
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/types.h>
#include <signal.h>
#include <signal.h>
...
@@ -2769,7 +2770,7 @@ int main() {
...
@@ -2769,7 +2770,7 @@ int main() {
int i;
int i;
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:277
3
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:277
4
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
ac_cv_type_signal
=
void
ac_cv_type_signal
=
void
else
else
...
@@ -2788,12 +2789,12 @@ EOF
...
@@ -2788,12 +2789,12 @@ EOF
echo
$ac_n
"checking for vprintf""...
$ac_c
"
1>&6
echo
$ac_n
"checking for vprintf""...
$ac_c
"
1>&6
echo
"configure:279
2
: checking for vprintf"
>
&5
echo
"configure:279
3
: checking for vprintf"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func_vprintf
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func_vprintf
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
else
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 279
7
"configure"
#line 279
8
"configure"
#include "confdefs.h"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char vprintf(); below. */
which can conflict with char vprintf(); below. */
...
@@ -2816,7 +2817,7 @@ vprintf();
...
@@ -2816,7 +2817,7 @@ vprintf();
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:282
0
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
if
{
(
eval echo
configure:282
1
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
eval
"ac_cv_func_vprintf=yes"
eval
"ac_cv_func_vprintf=yes"
else
else
...
@@ -2840,12 +2841,12 @@ fi
...
@@ -2840,12 +2841,12 @@ fi
if
test
"
$ac_cv_func_vprintf
"
!=
yes
;
then
if
test
"
$ac_cv_func_vprintf
"
!=
yes
;
then
echo
$ac_n
"checking for _doprnt""...
$ac_c
"
1>&6
echo
$ac_n
"checking for _doprnt""...
$ac_c
"
1>&6
echo
"configure:284
4
: checking for _doprnt"
>
&5
echo
"configure:284
5
: checking for _doprnt"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func__doprnt
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func__doprnt
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
else
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 28
49
"configure"
#line 28
50
"configure"
#include "confdefs.h"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char _doprnt(); below. */
which can conflict with char _doprnt(); below. */
...
@@ -2868,7 +2869,7 @@ _doprnt();
...
@@ -2868,7 +2869,7 @@ _doprnt();
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:287
2
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
if
{
(
eval echo
configure:287
3
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
eval
"ac_cv_func__doprnt=yes"
eval
"ac_cv_func__doprnt=yes"
else
else
...
@@ -2895,12 +2896,12 @@ fi
...
@@ -2895,12 +2896,12 @@ fi
for
ac_func
in
isinf tzset getrusage vfork memmove sigsetjmp
kill
sysconf
for
ac_func
in
isinf tzset getrusage vfork memmove sigsetjmp
kill
sysconf
do
do
echo
$ac_n
"checking for
$ac_func
""...
$ac_c
"
1>&6
echo
$ac_n
"checking for
$ac_func
""...
$ac_c
"
1>&6
echo
"configure:2
899
: checking for
$ac_func
"
>
&5
echo
"configure:2
900
: checking for
$ac_func
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func_
$ac_func
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func_
$ac_func
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
else
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 290
4
"configure"
#line 290
5
"configure"
#include "confdefs.h"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char
$ac_func
(); below. */
which can conflict with char
$ac_func
(); below. */
...
@@ -2923,7 +2924,7 @@ $ac_func();
...
@@ -2923,7 +2924,7 @@ $ac_func();
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:292
7
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
if
{
(
eval echo
configure:292
8
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
eval
"ac_cv_func_
$ac_func
=yes"
eval
"ac_cv_func_
$ac_func
=yes"
else
else
...
@@ -2948,12 +2949,12 @@ fi
...
@@ -2948,12 +2949,12 @@ fi
done
done
echo
$ac_n
"checking for inet_aton""...
$ac_c
"
1>&6
echo
$ac_n
"checking for inet_aton""...
$ac_c
"
1>&6
echo
"configure:295
2
: checking for inet_aton"
>
&5
echo
"configure:295
3
: checking for inet_aton"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func_inet_aton
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func_inet_aton
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
else
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 295
7
"configure"
#line 295
8
"configure"
#include "confdefs.h"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char inet_aton(); below. */
which can conflict with char inet_aton(); below. */
...
@@ -2976,7 +2977,7 @@ inet_aton();
...
@@ -2976,7 +2977,7 @@ inet_aton();
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:298
0
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
if
{
(
eval echo
configure:298
1
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
eval
"ac_cv_func_inet_aton=yes"
eval
"ac_cv_func_inet_aton=yes"
else
else
...
@@ -3001,12 +3002,12 @@ fi
...
@@ -3001,12 +3002,12 @@ fi
echo
$ac_n
"checking for cbrt""...
$ac_c
"
1>&6
echo
$ac_n
"checking for cbrt""...
$ac_c
"
1>&6
echo
"configure:300
5
: checking for cbrt"
>
&5
echo
"configure:300
6
: checking for cbrt"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func_cbrt
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func_cbrt
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
else
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 301
0
"configure"
#line 301
1
"configure"
#include "confdefs.h"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char cbrt(); below. */
which can conflict with char cbrt(); below. */
...
@@ -3029,7 +3030,7 @@ cbrt();
...
@@ -3029,7 +3030,7 @@ cbrt();
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:303
3
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
if
{
(
eval echo
configure:303
4
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
eval
"ac_cv_func_cbrt=yes"
eval
"ac_cv_func_cbrt=yes"
else
else
...
@@ -3050,7 +3051,7 @@ EOF
...
@@ -3050,7 +3051,7 @@ EOF
else
else
echo
"
$ac_t
""no"
1>&6
echo
"
$ac_t
""no"
1>&6
echo
$ac_n
"checking for cbrt in -lm""...
$ac_c
"
1>&6
echo
$ac_n
"checking for cbrt in -lm""...
$ac_c
"
1>&6
echo
"configure:305
4
: checking for cbrt in -lm"
>
&5
echo
"configure:305
5
: checking for cbrt in -lm"
>
&5
ac_lib_var
=
`
echo
m
'_'
cbrt |
sed
'y%./+-%__p_%'
`
ac_lib_var
=
`
echo
m
'_'
cbrt |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
@@ -3058,7 +3059,7 @@ else
...
@@ -3058,7 +3059,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lm
$LIBS
"
LIBS
=
"-lm
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 306
2
"configure"
#line 306
3
"configure"
#include "confdefs.h"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
/* We use char because int might match the return type of a gcc2
...
@@ -3069,7 +3070,7 @@ int main() {
...
@@ -3069,7 +3070,7 @@ int main() {
cbrt()
cbrt()
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:307
3
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
if
{
(
eval echo
configure:307
4
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
else
...
@@ -3095,12 +3096,12 @@ fi
...
@@ -3095,12 +3096,12 @@ fi
fi
fi
echo
$ac_n
"checking for rint""...
$ac_c
"
1>&6
echo
$ac_n
"checking for rint""...
$ac_c
"
1>&6
echo
"configure:3
099
: checking for rint"
>
&5
echo
"configure:3
100
: checking for rint"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func_rint
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func_rint
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
else
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 310
4
"configure"
#line 310
5
"configure"
#include "confdefs.h"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char rint(); below. */
which can conflict with char rint(); below. */
...
@@ -3123,7 +3124,7 @@ rint();
...
@@ -3123,7 +3124,7 @@ rint();
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:312
7
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
if
{
(
eval echo
configure:312
8
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
eval
"ac_cv_func_rint=yes"
eval
"ac_cv_func_rint=yes"
else
else
...
@@ -3144,7 +3145,7 @@ EOF
...
@@ -3144,7 +3145,7 @@ EOF
else
else
echo
"
$ac_t
""no"
1>&6
echo
"
$ac_t
""no"
1>&6
echo
$ac_n
"checking for rint in -lm""...
$ac_c
"
1>&6
echo
$ac_n
"checking for rint in -lm""...
$ac_c
"
1>&6
echo
"configure:314
8
: checking for rint in -lm"
>
&5
echo
"configure:314
9
: checking for rint in -lm"
>
&5
ac_lib_var
=
`
echo
m
'_'
rint |
sed
'y%./+-%__p_%'
`
ac_lib_var
=
`
echo
m
'_'
rint |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
@@ -3152,7 +3153,7 @@ else
...
@@ -3152,7 +3153,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lm
$LIBS
"
LIBS
=
"-lm
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 315
6
"configure"
#line 315
7
"configure"
#include "confdefs.h"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
/* We use char because int might match the return type of a gcc2
...
@@ -3163,7 +3164,7 @@ int main() {
...
@@ -3163,7 +3164,7 @@ int main() {
rint()
rint()
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:316
7
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
if
{
(
eval echo
configure:316
8
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
else
...
...
src/configure.in
View file @
1ce7b0c8
...
@@ -141,6 +141,7 @@ AC_TRY_LINK([#include <time.h>],
...
@@ -141,6 +141,7 @@ AC_TRY_LINK([#include <time.h>],
AC_MSG_CHECKING(for union semun)
AC_MSG_CHECKING(for union semun)
AC_TRY_LINK([#include <sys/types.h>
AC_TRY_LINK([#include <sys/types.h>
#include <sys/ipc.h>
#include <sys/sem.h>],
#include <sys/sem.h>],
[union semun semun;],
[union semun semun;],
[AC_DEFINE(HAVE_UNION_SEMUN) AC_MSG_RESULT(yes)],
[AC_DEFINE(HAVE_UNION_SEMUN) AC_MSG_RESULT(yes)],
...
...
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