Option --disable-dvd in the configure script.

The dvdreader module is compiled by default provided libdvdread devel
files are present.
parent aba56796
......@@ -2,7 +2,7 @@
# vls (VideoLAN Server) main Makefile
#-------------------------------------------------------------------------------
# (c)1999-2001 VideoLAN
# $Id: Makefile,v 1.74 2001/11/28 19:32:23 bozo Exp $
# $Id: Makefile,v 1.75 2001/11/29 11:58:39 bozo Exp $
################################################################################
......@@ -16,7 +16,6 @@ endif
################################################################################
LCFLAGS += $(VLS_LCFLAGS)
LIB += $(VLS_LIB)
################################################################################
......@@ -66,8 +65,8 @@ SERVERSRC= src/server/admin.cpp \
#
# Module libraries
#
MODULES= netchannel filechannel filereader dvdreader ts2ts ps2ts local
MODULETARGETS:=$(MODULES:%:bin/%.so)
MODULE_LIST:= dvdreader filechannel filereader local netchannel ps2ts ts2ts
PLUGINSTARGETS:=$(PLUGINS:%:bin/%.so)
#
# Input libraries
......@@ -85,7 +84,6 @@ SHAREDOBJ:=$(SHAREDSRC:src/%.cpp=obj/%.o)
SERVEROBJ:=$(SERVERSRC:src/%.cpp=obj/%.o)
OBJ:=$(COREOBJ) $(MPEGOBJ) $(SHAREDOBJ) $(SERVEROBJ)
LIBOBJ:=$(REMOTEOBJ)
#
......@@ -96,7 +94,7 @@ MPEGDEP:=$(MPEGSRC:src/%.cpp=dep/%.d)
SHAREDDEP:=$(SHAREDSRC:src/%.cpp=dep/%.d)
SERVERDEP:=$(SERVERSRC:src/%.cpp=dep/%.d)
DEP:=$(COREDEP) $(MPEGDEP) $(SHAREDDEP) $(SERVERDEP) $(REMOTEDEP)
DEP:=$(COREDEP) $(MPEGDEP) $(SHAREDDEP) $(SERVERDEP)
#
......@@ -115,7 +113,7 @@ export
#
# Build rules
#
all: Makefile.opts vls $(INPUTS) $(MODULES)
all: Makefile.opts vls $(INPUTS) $(PLUGINS)
Makefile.opts:
@echo "**** No configuration found, please run ./configure..."
......@@ -123,7 +121,7 @@ Makefile.opts:
clean:
rm -Rf obj
for module in $(MODULES) ; do \
for module in $(MODULE_LIST) ; do \
( cd src/modules/$$module && $(MAKE) clean ) ; done
for input in $(INPUTS) ; do \
( cd src/inputs/$$input && $(MAKE) clean ) ; done
......@@ -134,7 +132,7 @@ distclean: clean
rm -f Makefile.opts src/core/defs.h src/server/config.h
rm -Rf dep
rm -Rf *.log *.dbg
for module in $(MODULES) ; do \
for module in $(MODULE_LIST) ; do \
( cd src/modules/$$module && $(MAKE) distclean ) ; done
for input in $(INPUTS) ; do \
( cd src/inputs/$$input && $(MAKE) distclean ) ; done
......@@ -143,7 +141,7 @@ install:
mkdir -p $(DESTDIR)$(bindir)
$(INSTALL) bin/vls $(DESTDIR)$(bindir)
mkdir -p $(DESTDIR)$(libdir)/videolan/vls
$(INSTALL) $(MODULES:%=bin/%.so) $(DESTDIR)$(libdir)/videolan/vls
$(INSTALL) $(PLUGINS:%=bin/%.so) $(DESTDIR)$(libdir)/videolan/vls
$(INSTALL) $(INPUTS:%=bin/%.so) $(DESTDIR)$(libdir)/videolan/vls
mkdir -p $(DESTDIR)$(sysconfdir)/videolan/vls
$(INSTALL) vls.cfg $(DESTDIR)$(sysconfdir)/videolan/vls
......@@ -158,11 +156,11 @@ dep: Makefile.opts $(DEP)
vls: Makefile.opts $(OBJ)
@echo "Linking $@..."
@test -d bin || mkdir -p bin
$(CXX) $(LCFLAGS) -o bin/$@ $(OBJ) $(LIB)
$(CXX) $(LCFLAGS) -o bin/$@ $(OBJ) $(VLS_LIB)
chmod 755 bin/$@
$(MODULES): %: Makefile.opts
$(MODULES): %: src/modules/%/Makefile
$(PLUGINS): %: Makefile.opts
$(PLUGINS): %: src/modules/%/Makefile
cd src/modules/$* && $(MAKE) ../../../bin/$*.so
$(INPUTS): %: Makefile.opts
......
......@@ -56,7 +56,7 @@ dep: $(DEP)
../../../bin/$(MODULE).so: $(OBJ)
@echo "Linking $@..."
@test -d ../../../bin || mkdir -p ../../../bin
$(CXX) $(LCFLAGS) $(MODULE_LCFLAGS) -o $@ $^ $(LIB)
$(CXX) $(LCFLAGS) $(MODULE_LCFLAGS) -o $@ $^ $(MODULE_LIB)
chmod 755 $@
$(OBJ): obj/%.o: dep/%.d
......
......@@ -25,6 +25,14 @@ sysconfdir = @sysconfdir@
INSTALL = @INSTALL@
#
# Modules
#
BUILTINS = @BUILTINS@
PLUGINS = @PLUGINS@
#
# Build control
#
......@@ -56,19 +64,20 @@ LCFLAGS+=-D_REENTRANT
#
# Specific flags
#
VLS_LCFLAGS= @VLS_LCFLAGS@
VLS_LIB= @VLS_LIB@
CCFLAGS+=-DCONFIG_PATH='"$(sysconfdir)/videolan/vls"'
MODULE_LCFLAGS= @MODULE_LCFLAGS@
VLS_LCFLAGS = @VLS_LCFLAGS@
VLS_LIB = @VLS_LIB@
MODULE_LCFLAGS = @MODULE_LCFLAGS@
DVDREADER_LIB = @DVDREADER_LIB@
#
# Common options
#
HAVE_DVDREAD=@HAVE_DVDREAD@
CCFLAGS+=-DBUGGY_VLC
......
......@@ -17,6 +17,8 @@ ac_help="$ac_help
--disable-debug Disable debug mode (default enabled)"
ac_help="$ac_help
--enable-profiling Enable profiling mode (default disabled)"
ac_help="$ac_help
--disable-dvd DVD support (default enabled)"
# Initialize some variables set by options.
# The variables have the same names as the options, with
......@@ -576,7 +578,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:580: checking host system type" >&5
echo "configure:582: checking host system type" >&5
host_alias=$host
case "$host_alias" in
......@@ -597,7 +599,7 @@ host_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
echo "$ac_t""$host" 1>&6
echo $ac_n "checking target system type""... $ac_c" 1>&6
echo "configure:601: checking target system type" >&5
echo "configure:603: checking target system type" >&5
target_alias=$target
case "$target_alias" in
......@@ -615,7 +617,7 @@ target_os=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
echo "$ac_t""$target" 1>&6
echo $ac_n "checking build system type""... $ac_c" 1>&6
echo "configure:619: checking build system type" >&5
echo "configure:621: checking build system type" >&5
build_alias=$build
case "$build_alias" in
......@@ -645,7 +647,7 @@ save_CFLAGS="${CFLAGS}"
save_LDFLAGS="${LDFLAGS}"
echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
echo "configure:649: checking whether ${MAKE-make} sets \${MAKE}" >&5
echo "configure:651: 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
......@@ -676,7 +678,7 @@ do
# Extract the first word of "$ac_prog", so it can be a program name with args.
set dummy $ac_prog; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
echo "configure:680: checking for $ac_word" >&5
echo "configure:682: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
......@@ -708,7 +710,7 @@ test -n "$CXX" || CXX="gcc"
echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6
echo "configure:712: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
echo "configure:714: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
ac_ext=C
# CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
......@@ -719,12 +721,12 @@ cross_compiling=$ac_cv_prog_cxx_cross
cat > conftest.$ac_ext << EOF
#line 723 "configure"
#line 725 "configure"
#include "confdefs.h"
int main(){return(0);}
EOF
if { (eval echo configure:728: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
if { (eval echo configure:730: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
ac_cv_prog_cxx_works=yes
# If we can't run a trivial program, we are probably using a cross compiler.
if (./conftest; exit) 2>/dev/null; then
......@@ -750,12 +752,12 @@ if test $ac_cv_prog_cxx_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 ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
echo "configure:754: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
echo "configure:756: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6
cross_compiling=$ac_cv_prog_cxx_cross
echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6
echo "configure:759: checking whether we are using GNU C++" >&5
echo "configure:761: checking whether we are using GNU C++" >&5
if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
......@@ -764,7 +766,7 @@ else
yes;
#endif
EOF
if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:768: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:770: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
ac_cv_prog_gxx=yes
else
ac_cv_prog_gxx=no
......@@ -783,7 +785,7 @@ ac_test_CXXFLAGS="${CXXFLAGS+set}"
ac_save_CXXFLAGS="$CXXFLAGS"
CXXFLAGS=
echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6
echo "configure:787: checking whether ${CXX-g++} accepts -g" >&5
echo "configure:789: checking whether ${CXX-g++} accepts -g" >&5
if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
......@@ -815,7 +817,7 @@ else
fi
echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
echo "configure:819: checking how to run the C preprocessor" >&5
echo "configure:821: checking how to run the C preprocessor" >&5
# On Suns, sometimes $CPP names a directory.
if test -n "$CPP" && test -d "$CPP"; then
CPP=
......@@ -830,13 +832,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 834 "configure"
#line 836 "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:840: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
{ (eval echo configure:842: \"$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
:
......@@ -847,13 +849,13 @@ else
rm -rf conftest*
CPP="${CC-cc} -E -traditional-cpp"
cat > conftest.$ac_ext <<EOF
#line 851 "configure"
#line 853 "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:857: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
{ (eval echo configure:859: \"$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
:
......@@ -864,13 +866,13 @@ else
rm -rf conftest*
CPP="${CC-cc} -nologo -E"
cat > conftest.$ac_ext <<EOF
#line 868 "configure"
#line 870 "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:874: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
{ (eval echo configure:876: \"$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
:
......@@ -907,7 +909,7 @@ echo "$ac_t""$CPP" 1>&6
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
# ./install, which can be erroneously created by make from ./install.sh.
echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
echo "configure:911: checking for a BSD compatible install" >&5
echo "configure:913: checking for a BSD compatible install" >&5
if test -z "$INSTALL"; then
if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
......@@ -962,14 +964,14 @@ test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
if test x${cross_compiling} != xyes; then
echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6
echo "configure:966: checking whether byte ordering is bigendian" >&5
echo "configure:968: checking whether byte ordering is bigendian" >&5
if eval "test \"`echo '$''{'ac_cv_c_bigendian'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
ac_cv_c_bigendian=unknown
# See if sys/param.h defines the BYTE_ORDER macro.
cat > conftest.$ac_ext <<EOF
#line 973 "configure"
#line 975 "configure"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/param.h>
......@@ -980,11 +982,11 @@ int main() {
#endif
; return 0; }
EOF
if { (eval echo configure:984: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
if { (eval echo configure:986: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
# It does; now see whether it defined to BIG_ENDIAN or not.
cat > conftest.$ac_ext <<EOF
#line 988 "configure"
#line 990 "configure"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/param.h>
......@@ -995,7 +997,7 @@ int main() {
#endif
; return 0; }
EOF
if { (eval echo configure:999: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
if { (eval echo configure:1001: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
ac_cv_c_bigendian=yes
else
......@@ -1015,7 +1017,7 @@ if test "$cross_compiling" = yes; then
{ echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
else
cat > conftest.$ac_ext <<EOF
#line 1019 "configure"
#line 1021 "configure"
#include "confdefs.h"
main () {
/* Are we little or big endian? From Harbison&Steele. */
......@@ -1028,7 +1030,7 @@ main () {
exit (u.c[sizeof (long) - 1] == 1);
}
EOF
if { (eval echo configure:1032: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
if { (eval echo configure:1034: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
then
ac_cv_c_bigendian=no
else
......@@ -1068,7 +1070,7 @@ fi
*)
ac_cv_c_bigendian=unknown
echo $ac_n "checking what the byte order looks to be""... $ac_c" 1>&6
echo "configure:1072: checking what the byte order looks to be" >&5
echo "configure:1074: checking what the byte order looks to be" >&5
cat >conftest.c <<EOF
short am[] = { 0x4249, 0x4765, 0x6e44, 0x6961, 0x6e53, 0x7953, 0 };
short ai[] = { 0x694c, 0x5454, 0x656c, 0x6e45, 0x6944, 0x6e61, 0 };
......@@ -1113,12 +1115,12 @@ fi
for ac_func in gettimeofday select strerror strtod strtol
do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
echo "configure:1117: checking for $ac_func" >&5
echo "configure:1119: checking for $ac_func" >&5
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
#line 1122 "configure"
#line 1124 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char $ac_func(); below. */
......@@ -1141,7 +1143,7 @@ $ac_func();
; return 0; }
EOF
if { (eval echo configure:1145: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
if { (eval echo configure:1147: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_func_$ac_func=yes"
else
......@@ -1168,12 +1170,12 @@ done
for ac_func in setenv putenv opendir
do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
echo "configure:1172: checking for $ac_func" >&5
echo "configure:1174: checking for $ac_func" >&5
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
#line 1177 "configure"
#line 1179 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char $ac_func(); below. */
......@@ -1196,7 +1198,7 @@ $ac_func();
; return 0; }
EOF
if { (eval echo configure:1200: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
if { (eval echo configure:1202: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_func_$ac_func=yes"
else
......@@ -1223,12 +1225,12 @@ done
for ac_func in sleep usleep
do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
echo "configure:1227: checking for $ac_func" >&5
echo "configure:1229: checking for $ac_func" >&5
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
#line 1232 "configure"
#line 1234 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char $ac_func(); below. */
......@@ -1251,7 +1253,7 @@ $ac_func();
; return 0; }
EOF
if { (eval echo configure:1255: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
if { (eval echo configure:1257: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_func_$ac_func=yes"
else
......@@ -1278,12 +1280,12 @@ done
for ac_func in sigaction
do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
echo "configure:1282: checking for $ac_func" >&5
echo "configure:1284: checking for $ac_func" >&5
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
#line 1287 "configure"
#line 1289 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char $ac_func(); below. */
......@@ -1306,7 +1308,7 @@ $ac_func();
; return 0; }
EOF
if { (eval echo configure:1310: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
if { (eval echo configure:1312: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_func_$ac_func=yes"
else
......@@ -1335,17 +1337,17 @@ for ac_hdr in unistd.h
do
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
echo "configure:1339: checking for $ac_hdr" >&5
echo "configure:1341: 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 1344 "configure"
#line 1346 "configure"
#include "confdefs.h"
#include <$ac_hdr>
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
{ (eval echo configure:1349: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
{ (eval echo configure:1351: \"$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*
......@@ -1374,12 +1376,12 @@ done
for ac_func in getpagesize
do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
echo "configure:1378: checking for $ac_func" >&5
echo "configure:1380: checking for $ac_func" >&5
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
#line 1383 "configure"
#line 1385 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char $ac_func(); below. */
......@@ -1402,7 +1404,7 @@ $ac_func();
; return 0; }
EOF
if { (eval echo configure:1406: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
if { (eval echo configure:1408: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_func_$ac_func=yes"
else
......@@ -1427,7 +1429,7 @@ fi
done
echo $ac_n "checking for working mmap""... $ac_c" 1>&6
echo "configure:1431: checking for working mmap" >&5
echo "configure:1433: checking for working mmap" >&5
if eval "test \"`echo '$''{'ac_cv_func_mmap_fixed_mapped'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
......@@ -1435,7 +1437,7 @@ else
ac_cv_func_mmap_fixed_mapped=no
else
cat > conftest.$ac_ext <<EOF
#line 1439 "configure"
#line 1441 "configure"
#include "confdefs.h"
/* Thanks to Mike Haertel and Jim Avera for this test.
......@@ -1575,7 +1577,7 @@ main()
}
EOF
if { (eval echo configure:1579: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
if { (eval echo configure:1581: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
then
ac_cv_func_mmap_fixed_mapped=yes
else
......@@ -1598,12 +1600,12 @@ EOF
fi
echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6
echo "configure:1602: checking return type of signal handlers" >&5
echo "configure:1604: 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 1607 "configure"
#line 1609 "configure"
#include "confdefs.h"
#include <sys/types.h>
#include <signal.h>
......@@ -1620,7 +1622,7 @@ int main() {
int i;
; return 0; }
EOF
if { (eval echo configure:1624: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
if { (eval echo configure:1626: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
ac_cv_type_signal=void
else
......@@ -1640,7 +1642,7 @@ EOF
echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6
echo "configure:1644: checking for dlopen in -ldl" >&5
echo "configure:1646: checking for dlopen in -ldl" >&5
ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
......@@ -1648,7 +1650,7 @@ else
ac_save_LIBS="$LIBS"
LIBS="-ldl $LIBS"
cat > conftest.$ac_ext <<EOF
#line 1652 "configure"
#line 1654 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
......@@ -1659,7 +1661,7 @@ int main() {
dlopen()
; return 0; }
EOF
if { (eval echo configure:1663: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
if { (eval echo configure:1665: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes"
else
......@@ -1682,7 +1684,7 @@ fi
echo $ac_n "checking for crypt in -lcrypt""... $ac_c" 1>&6
echo "configure:1686: checking for crypt in -lcrypt" >&5
echo "configure:1688: checking for crypt in -lcrypt" >&5
ac_lib_var=`echo crypt'_'crypt | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
......@@ -1690,7 +1692,7 @@ else
ac_save_LIBS="$LIBS"
LIBS="-lcrypt $LIBS"
cat > conftest.$ac_ext <<EOF
#line 1694 "configure"
#line 1696 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
......@@ -1701,7 +1703,7 @@ int main() {
crypt()
; return 0; }
EOF
if { (eval echo configure:1705: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
if { (eval echo configure:1707: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes"
else
......@@ -1724,12 +1726,12 @@ fi
echo $ac_n "checking for connect""... $ac_c" 1>&6
echo "configure:1728: checking for connect" >&5
echo "configure:1730: checking for connect" >&5
if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
#line 1733 "configure"
#line 1735 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char connect(); below. */
......@@ -1752,7 +1754,7 @@ connect();
; return 0; }
EOF
if { (eval echo configure:1756: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
if { (eval echo configure:1758: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_func_connect=yes"
else
......@@ -1770,7 +1772,7 @@ if eval "test \"`echo '$ac_cv_func_'connect`\" = yes"; then
else
echo "$ac_t""no" 1>&6
echo $ac_n "checking for connect in -lsocket""... $ac_c" 1>&6
echo "configure:1774: checking for connect in -lsocket" >&5
echo "configure:1776: checking for connect in -lsocket" >&5
ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
......@@ -1778,7 +1780,7 @@ else
ac_save_LIBS="$LIBS"
LIBS="-lsocket $LIBS"
cat > conftest.$ac_ext <<EOF
#line 1782 "configure"
#line 1784 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
......@@ -1789,7 +1791,7 @@ int main() {
connect()
; return 0; }
EOF
if { (eval echo configure:1793: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
if { (eval echo configure:1795: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes"
else
......@@ -1814,12 +1816,12 @@ fi
echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6
echo "configure:1818: checking for gethostbyname" >&5
echo "configure:1820: checking for gethostbyname" >&5
if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
#line 1823 "configure"
#line 1825 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char gethostbyname(); below. */
......@@ -1842,7 +1844,7 @@ gethostbyname();
; return 0; }
EOF
if { (eval echo configure:1846: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
if { (eval echo configure:1848: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_func_gethostbyname=yes"
else
......@@ -1860,7 +1862,7 @@ if eval "test \"`echo '$ac_cv_func_'gethostbyname`\" = yes"; then
else
echo "$ac_t""no" 1>&6
echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6
echo "configure:1864: checking for gethostbyname in -lnsl" >&5
echo "configure:1866: checking for gethostbyname in -lnsl" >&5
ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
......@@ -1868,7 +1870,7 @@ else
ac_save_LIBS="$LIBS"
LIBS="-lnsl $LIBS"
cat > conftest.$ac_ext <<EOF
#line 1872 "configure"
#line 1874 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
......@@ -1879,7 +1881,7 @@ int main() {
gethostbyname()
; return 0; }
EOF
if { (eval echo configure:1883: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
if { (eval echo configure:1885: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes"
else
......@@ -1904,12 +1906,12 @@ fi
echo $ac_n "checking for sem_post""... $ac_c" 1>&6
echo "configure:1908: checking for sem_post" >&5
echo "configure:1910: checking for sem_post" >&5
if eval "test \"`echo '$''{'ac_cv_func_sem_post'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
#line 1913 "configure"
#line 1915 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char sem_post(); below. */
......@@ -1932,7 +1934,7 @@ sem_post();
; return 0; }
EOF
if { (eval echo configure:1936: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
if { (eval echo configure:1938: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_func_sem_post=yes"
else
......@@ -1950,7 +1952,7 @@ if eval "test \"`echo '$ac_cv_func_'sem_post`\" = yes"; then
else
echo "$ac_t""no" 1>&6
echo $ac_n "checking for sem_post in -lposix4""... $ac_c" 1>&6
echo "configure:1954: checking for sem_post in -lposix4" >&5
echo "configure:1956: checking for sem_post in -lposix4" >&5
ac_lib_var=`echo posix4'_'sem_post | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
......@@ -1958,7 +1960,7 @@ else
ac_save_LIBS="$LIBS"
LIBS="-lposix4 $LIBS"
cat > conftest.$ac_ext <<EOF
#line 1962 "configure"
#line 1964 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
......@@ -1969,7 +1971,7 @@ int main() {
sem_post()
; return 0; }
EOF
if { (eval echo configure:1973: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
if { (eval echo configure:1975: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes"
else
......@@ -1994,12 +1996,12 @@ fi
echo $ac_n "checking for nanosleep""... $ac_c" 1>&6
echo "configure:1998: checking for nanosleep" >&5