Changeset 3cbfc06dc36bc0d178793558d52d71348e999106

Show
Ignore:
Timestamp:
06/24/00 00:28:42 (8 years ago)
Author:
Sam Hocevar <sam@videolan.org>
git-committer:
Sam Hocevar <sam@videolan.org> 961799322 +0000
git-parent:

[1b79957cebd97494e3ae83cae81be93fd9d3a063]

git-author:
Sam Hocevar <sam@videolan.org> 961799322 +0000
Message:

. nouveaux plugins - ne fonctionnent pas encore tous

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • ChangeLog

    rea286a7 r3cbfc06  
     1Tue Jun 20 14:17:56 CEST 2000 
     20.1.99d : 
     3 
     4  * fixed RPM build 
     5  * .deb is now more lintian-friendly 
     6 
    17Sun Jun 18 18:54:48 CEST 2000 
    280.1.99c : 
    39 
    4  * fixed Makefile.in for debug version 
    5  * caught Delete Window event in Gnome and X11 modes 
    6  * fixed manpage 
    7  * GGI output now works 
    8  * fixed a segfault on exit for the Gnome plugin 
    9  * fixed compile problems for BeOS 
    10  * sound support almost works under BeOS 
    11  * fixed a warning in ac3_exponent.c 
    12  * automatic support for .rpm and .deb building 
     10  * fixed Makefile.in for debug version 
     11  * caught Delete Window event in Gnome and X11 modes 
     12  * fixed manpage 
     13  * GGI output now works 
     14  * fixed a segfault on exit for the Gnome plugin 
     15  * fixed compile problems for BeOS 
     16  * sound support almost works under BeOS 
     17  * fixed a warning in ac3_exponent.c 
     18  * automatic support for .rpm and .deb building 
    1319 
    1420Sat Jun 17 03:35:02 CEST 2000 
    15210.1.99b : 
    1622 
    17  * fixed a bug preventing to quit when run with no arguments 
    18  * new VLAN changing code 
    19  * created the ChangeLog file :) 
     23  * fixed a bug preventing to quit when run with no arguments 
     24  * new VLAN changing code 
     25  * created the ChangeLog file :) 
    2026 
  • INSTALL

    r12422fe r3cbfc06  
     1INSTALL file for vlc, the VideoLAN Client 
     2 
     3 
     4Building VideoLAN 
     5================= 
     6 
     7A typical way to configure the vlc is : 
     8 
     9   ./configure --prefix=/usr --enable-ppro --enable-mmx --enable-gnome 
     10 
     11See `./configure --help' for more information. 
     12 
     13Then, run `make', and `make install' to install it. 
     14 
     15 
     16To build a Debian package, you may use : 
     17 
     18   dpkg-buildpackage -rfakeroot -us -uc 
     19 
     20 
     21To build RedHat packages, use : 
     22 
     23   rpm -ba vlc.spec 
     24 
     25 
     26Installing and running VideoLAN 
     27=============================== 
     28 
     29You can install the vlc and its plugins by typing : 
     30 
     31   make install 
     32 
     33But you don't need to do it if you don't want ; vlc can be launched 
     34from the current directory as well : 
     35 
     36   ./vlc 
     37 
  • Makefile.in

    rea286a7 r3cbfc06  
    1414 
    1515SYS=@SYS@ 
    16 ARCH=@ARCH@ 
    17 AOUT=@AOUT@ 
    18 VOUT=@VOUT@ 
    19 INTF=@VOUT@ 
     16PLUGINS=@PLUGINS@ 
    2017SNAPSHOTDIR=vlc-@VLC_VERSION@ 
    2118INSTALL=@INSTALL@ 
     
    250247# Plugins 
    251248# 
    252 intf_plugin =           $(INTF:%=plugins/intf/intf_%.so) 
    253 aout_plugin =           $(AOUT:%=plugins/aout/aout_%.so) 
    254 vout_plugin =           $(VOUT:%=plugins/vout/vout_%.so) 
    255  
    256 PLUGIN_OBJ = $(intf_plugin) $(aout_plugin) $(vout_plugin) 
    257  
     249PLUGINS := $(PLUGINS:%=lib/%.so) 
     250 
     251PLUGIN_BEOS   = plugins/beos/aout_beos.o \ 
     252        plugins/beos/intf_beos.o \ 
     253        plugins/beos/vout_beos.o 
     254 
     255PLUGIN_DSP    = plugins/dsp/aout_dsp.o 
     256 
     257PLUGIN_DUMMY  = plugins/dummy/aout_dummy.o \ 
     258        plugins/dummy/intf_dummy.o \ 
     259        plugins/dummy/vout_dummy.o 
     260 
     261PLUGIN_ESD    = plugins/esd/aout_esd.o 
     262 
     263PLUGIN_FB     = plugins/fb/intf_fb.o \ 
     264        plugins/fb/vout_fb.o 
     265 
     266PLUGIN_GGI    = plugins/ggi/intf_ggi.o \ 
     267        plugins/ggi/vout_ggi.o 
     268 
     269PLUGIN_GLIDE  = plugins/glide/intf_glide.o \ 
     270        plugins/glide/vout_glide.o 
     271 
     272PLUGIN_GNOME  = plugins/gnome/intf_gnome.o \ 
     273        plugins/gnome/intf_gnome_callbacks.o \ 
     274        plugins/gnome/intf_gnome_interface.o \ 
     275        plugins/gnome/intf_gnome_support.o \ 
     276        plugins/gnome/vout_gnome.o 
     277 
     278PLUGIN_MGA    = plugins/mga/intf_mga.o \ 
     279        plugins/fb/vout_mga.o 
     280 
     281PLUGIN_X11    = plugins/x11/intf_x11.o \ 
     282        plugins/x11/vout_x11.o 
     283 
     284PLUGIN_OBJ = $(PLUGIN_BEOS) $(PLUGIN_DSP) $(PLUGIN_DUMMY) $(PLUGIN_ESD) \ 
     285        $(PLUGIN_FB) $(PLUGIN_GGI) $(PLUGIN_GLIDE) $(PLUGIN_GNOME) \ 
     286        $(PLUGIN_MGA) $(PLUGIN_X11) 
    258287# 
    259288# Other lists of files 
     
    281310 
    282311distclean: clean 
    283     rm -f */*/*.o plugins/*/*.so **/*~ *.log 
     312    rm -f src/*/*.o plugins/*/*.o lib/*.so **/*~ *.log 
    284313    rm -f Makefile include/defs.h include/config.h 
    285314    rm -f config.status config.cache config.log 
     
    291320    mkdir -p $(prefix)/lib/videolan/vlc 
    292321    mkdir -p $(prefix)/share/videolan/vlc 
    293     $(INSTALL) $(PLUGIN_OBJ) $(prefix)/lib/videolan/vlc 
    294     $(INSTALL) share/*.psf $(prefix)/share/videolan/vlc 
    295     $(INSTALL) share/*.png $(prefix)/share/videolan/vlc 
     322    $(INSTALL) -m 644 $(PLUGINS) $(prefix)/lib/videolan/vlc 
     323    $(INSTALL) -m 644 share/*.psf $(prefix)/share/videolan/vlc 
     324    $(INSTALL) -m 644 share/*.png $(prefix)/share/videolan/vlc 
    296325 
    297326show: 
     
    317346    @echo "Sources are in ../${SNAPSHOTDIR}.tar.gz" 
    318347 
    319 deb: 
    320     dpkg-buildpackage -rfakeroot -us -uc 
    321  
    322 rpm: 
    323     rpm -ba vlc.spec 
    324  
    325348FORCE: 
    326349 
     
    337360endif 
    338361 
    339 plugins: $(PLUGIN_OBJ
     362plugins: $(PLUGINS
    340363 
    341364# 
     
    360383#$(PLUGIN_OBJ): %.so: .dep/%.d 
    361384 
    362 # audio plugins 
    363 plugins/aout/aout_dummy.so plugins/aout/aout_dsp.so: %.so: %.c 
    364 ifeq ($(SYS),beos) 
    365     $(CC) $(CCFLAGS) $(CFLAGS) -nostart -Xlinker -soname=$@ -o $@ $< plugins/_APP_ 
     385#$(CC) $(LCFLAGS) $(CCFLAGS) $(CFLAGS) -nostart -Xlinker -soname=$@ -o $@ $< plugins/_APP_ 
     386         
     387lib/beos.so: $(PLUGIN_BEOS) 
     388    ld -nostart -Xlinker -soname=$@ -o $@ $^ plugins/_APP_ 
     389$(PLUGIN_BEOS): %.o: %.c 
     390    $(CC) $(CCFLAGS) $(CFLAGS) -c -o $@ $< 
     391 
     392lib/esd.so: $(PLUGIN_ESD) 
     393ifneq (,$(findstring bsd,$(SYS))) 
     394    ld -shared -lesd -o $@ $^ 
    366395else 
    367     $(CC) $(CCFLAGS) $(CFLAGS) -shared -o $@ $< 
    368 endif 
    369  
    370 plugins/aout/aout_esd.so: %.so: %.c 
    371 ifneq (,$(findstring bsd,$(SYS))) 
    372     $(CC) $(CCFLAGS) $(CFLAGS) -lesd -shared -o $@ $< 
    373 else 
    374     $(CC) $(CCFLAGS) $(CFLAGS) -laudiofile -lesd -shared -o $@ $< 
    375 endif 
    376  
    377 plugins/aout/aout_beos.so: %.so: %.cpp 
    378     $(CC) $(LCFLAGS) $(CCFLAGS) $(CFLAGS) -nostart -Xlinker -soname=$@ -o $@ $< plugins/_APP_ 
    379          
    380 # video plugins 
    381 plugins/intf/intf_dummy.so plugins/vout/vout_dummy.so \ 
    382     plugins/intf/intf_fb.so plugins/vout/vout_fb.so: %.so: %.c 
    383 ifeq ($(SYS),beos) 
    384     $(CC) $(CCFLAGS) $(CFLAGS) -nostart -Xlinker -soname=$@ -o $@ $< plugins/_APP_ 
    385 else 
    386     $(CC) $(CCFLAGS) $(CFLAGS) -shared -o $@ $< 
    387 endif 
    388  
    389 plugins/intf/intf_x11.so plugins/vout/vout_x11.so: %.so: %.c 
    390     $(CC) $(CCFLAGS) $(CFLAGS) -I/usr/X11R6/include -L/usr/X11R6/lib -lX11 -lXext -shared -o $@ $< 
    391  
    392 plugins/intf/intf_mga.so plugins/vout/vout_mga.so: %.so: %.c 
    393     $(CC) $(CCFLAGS) $(CFLAGS) -I/usr/X11R6/include -L/usr/X11R6/lib -lX11 -lXext -shared -o $@ $< 
    394  
    395 plugins/intf/intf_gnome.so: %.so: %.c 
    396     $(CC) $(CCFLAGS) $(CFLAGS) $(LCFLAGS) `gnome-config --libs --cflags gnomeui` -shared -o $@ $< plugins/intf/intf_gnome_callbacks.c plugins/intf/intf_gnome_interface.c plugins/intf/intf_gnome_support.c 
    397  
    398 plugins/vout/vout_gnome.so: %.so: %.c 
    399     $(CC) $(CCFLAGS) $(CFLAGS) -I/usr/X11R6/include -L/usr/X11R6/lib -lX11 -lXext -shared -o $@ $< 
    400  
    401 plugins/intf/intf_glide.so plugins/vout/vout_glide.so: %.so: %.c 
    402     $(CC) $(CCFLAGS) $(CFLAGS) -I/usr/include/glide -lglide2x -shared -o $@ $< 
    403  
    404 plugins/intf/intf_ggi.so plugins/vout/vout_ggi.so: %.so: %.c 
    405     $(CC) $(CCFLAGS) $(CFLAGS) -lggi -shared -o $@ $< 
    406  
    407 plugins/intf/intf_beos.so: %.so: %.cpp 
    408     $(CC) $(LCFLAGS) $(CCFLAGS) $(CFLAGS) -nostart -Xlinker -soname=$@ -o $@ $< plugins/_APP_ 
    409  
    410 plugins/vout/vout_beos.so: %.so: %.cpp 
    411     $(CC) $(LCFLAGS) $(CCFLAGS) $(CFLAGS) -nostart -Xlinker -soname=$@ -o $@ $< plugins/_APP_ 
    412          
     396    ld -shared -laudiofile -lesd -o $@ $^ 
     397endif 
     398$(PLUGIN_ESD): %.o: %.c 
     399    $(CC) $(CCFLAGS) $(CFLAGS) -c -o $@ $< 
     400 
     401lib/dummy.so: $(PLUGIN_DUMMY) 
     402    ld -shared -o $@ $^ 
     403$(PLUGIN_DUMMY): %.o: %.c 
     404    $(CC) $(CCFLAGS) $(CFLAGS) -c -o $@ $< 
     405 
     406lib/fb.so: $(PLUGIN_FB) 
     407    ld -shared -o $@ $^ 
     408$(PLUGIN_FB): %.o: %.c 
     409    $(CC) $(CCFLAGS) $(CFLAGS) -c -o $@ $< 
     410 
     411lib/x11.so: $(PLUGIN_X11) 
     412    ld -shared -L/usr/X11R6/lib -lX11 -lXext -o $@ $^ 
     413$(PLUGIN_X11): %.o: %.c 
     414    $(CC) $(CCFLAGS) $(CFLAGS) -c -o $@ $< 
     415 
     416lib/mga.so: $(PLUGIN_MGA) 
     417    ld -shared -L/usr/X11R6/lib -lX11 -lXext -o $@ $^ 
     418$(PLUGIN_MGA): %.o: %.c 
     419    $(CC) $(CCFLAGS) $(CFLAGS) -c -o $@ $< 
     420 
     421lib/gnome.so: $(PLUGIN_GNOME) 
     422    ld -shared `gnome-config --libs gnomeui | sed 's,-rdynamic,,'` -o $@ $^ 
     423$(PLUGIN_GNOME): %.o: %.c 
     424    $(CC) $(CCFLAGS) $(CFLAGS) `gnome-config --cflags gnomeui`-c -o $@ $< 
     425 
     426lib/glide.so: $(PLUGIN_GLIDE) 
     427    ld -shared -lglide2x -o $@ $^ 
     428$(PLUGIN_GLIDE): %.o: %.c 
     429    $(CC) $(CCFLAGS) $(CFLAGS) -I/usr/include/glide -c -o $@ $< 
     430 
     431lib/ggi.so: $(PLUGIN_GGI) 
     432    ld -shared -lggi -o $@ $^ 
     433$(PLUGIN_GGI): %.o: %.c 
     434    $(CC) $(CCFLAGS) $(CFLAGS) -c -o $@ $< 
    413435 
    414436################################################################################ 
  • README

    r3d11041 r3cbfc06  
    1  
    2                README for vlc, the VideoLAN Client 
     1README for vlc, the VideoLAN Client 
    32 
    43 
    5  
    6 ... Introduction 
     4Introduction 
     5============ 
    76 
    87[ nothing appropriate yet ] 
    98 
    109 
     10Building, Installing and Running VideoLAN 
     11========================================= 
    1112 
    12 ... Building VideoLAN 
    13  
    14 A typical way to configure the vlc is : 
    15  
    16    ./configure --prefix=/usr --enable-ppro --enable-mmx --enable-gnome 
    17  
    18 See `./configure --help' for more information. 
    19  
    20 Then, run `make'. 
     13See the INSTALL file for this. 
    2114 
    2215 
    23 ... Running VideoLAN 
     16Troubleshooting 
     17=============== 
     18 
     19A mailing-list has been set up for support and discussion about the 
     20vlc. Its address is : 
     21 
     22   <vlc@videolan.org> 
     23 
     24To subscribe, send a mail to <listar@videolan.org> with the following 
     25words in the mail body : 
     26 
     27   subscribe vlc 
     28 
     29To unsubscribe, do the same with the words : 
     30 
     31   unsubscribe vlc 
     32 
     33 
     34When reporting bugs, try to be as precise as possible (which OS, which 
     35distribution, what plugins you were trying, and so on). 
     36 
     37 
     38Resources 
     39========= 
    2440 
    2541[ nothing appropriate yet ] 
    2642 
    2743 
    28  
    29 ... Troubleshooting 
    30  
    31 [ nothing appropriate yet ] 
    32  
    33  
    34  
    35 ... Resources 
    36  
    37 [ nothing appropriate yet ] 
    38  
    39  
    40  
    41 ... The team 
     44The team 
     45======== 
    4246 
    4347The following teachers were involved in the VideoLAN project : 
     
    5357  R�s Duchesne <regis@via.ecp.fr> 
    5458  Alexandre Francois <francois@via.ecp.fr> 
     59  Christian Gross <gross@via.ecp.fr> 
    5560  Hugo Haas <hugo@via.ecp.fr> 
    5661  Mikael Journo <mj32@cornell.edu> 
     
    6267  Olivier Baxa <oli@via.ecp.fr> 
    6368  Patrice Bazerque <patrice.bazerque@via.ecp.fr> 
    64   Etienne Bernard <eb@via.ecp.fr> 
    6569  Arnaud Bienvenu <arnaud.bienvenu@via.ecp.fr> 
    6670  R�s Cl�nt <clement@via.ecp.fr> 
  • configure

    rea286a7 r3cbfc06  
    1313# Any additions from configure.in: 
    1414ac_help="$ac_help 
    15   --enable-vout-dummy     dummy video support (default enabled)" 
    16 ac_help="$ac_help 
    17   --enable-x11            X11 video support (default enabled)" 
    18 ac_help="$ac_help 
    19   --enable-fb             Linux framebuffer video support (default disabled)" 
    20 ac_help="$ac_help 
    21   --enable-gnome          Gnome video support (default disabled)" 
    22 ac_help="$ac_help 
    23   --enable-glide          Glide (3dfx) video support (default disabled)" 
    24 ac_help="$ac_help 
    25   --enable-ggi            GGI video support (default disabled)" 
    26 ac_help="$ac_help 
    27   --enable-aout-dummy     dummy audio support (default enabled)" 
    28 ac_help="$ac_help 
    2915  --enable-dsp            Linux /dev/dsp support (default enabled)" 
    3016ac_help="$ac_help 
     17  --enable-dummy          dummy audio and video support (default enabled)" 
     18ac_help="$ac_help 
    3119  --enable-esd            Esound library support (default disabled)" 
     20ac_help="$ac_help 
     21  --enable-fb             Linux framebuffer support (default disabled)" 
     22ac_help="$ac_help 
     23  --enable-ggi            GGI support (default disabled)" 
     24ac_help="$ac_help 
     25  --enable-glide          Glide (3dfx) support (default disabled)" 
     26ac_help="$ac_help 
     27  --enable-gnome          Gnome support (default disabled)" 
     28ac_help="$ac_help 
     29  --enable-x11            X11 support (default enabled)" 
    3230ac_help="$ac_help 
    3331  --enable-ppro           Enable PentiumPro optimizations (default is no)" 
     
    572570 
    573571echo $ac_n "checking host system type""... $ac_c" 1>&6 
    574 echo "configure:575: checking host system type" >&5 
     572echo "configure:573: checking host system type" >&5 
    575573 
    576574host_alias=$host 
     
    593591 
    594592 
    595 VLC_VERSION=0.1.99c 
     593VLC_VERSION=0.1.99d 
    596594 
    597595VLC_CODENAME=Onatopp 
     
    599597 
    600598echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 
    601 echo "configure:602: checking whether ${MAKE-make} sets \${MAKE}" >&5 
     599echo "configure:600: checking whether ${MAKE-make} sets \${MAKE}" >&5 
    602600set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` 
    603601if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then 
     
    628626set dummy gcc; ac_word=$2 
    629627echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 
    630 echo "configure:631: checking for $ac_word" >&5 
     628echo "configure:629: checking for $ac_word" >&5 
    631629if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 
    632630  echo $ac_n "(cached) $ac_c" 1>&6 
     
    658656set dummy cc; ac_word=$2 
    659657echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 
    660 echo "configure:661: checking for $ac_word" >&5 
     658echo "configure:659: checking for $ac_word" >&5 
    661659if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 
    662660  echo $ac_n "(cached) $ac_c" 1>&6 
     
    709707set dummy cl; ac_word=$2 
    710708echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 
    711 echo "configure:712: checking for $ac_word" >&5 
     709echo "configure:710: checking for $ac_word" >&5 
    712710if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 
    713711  echo $ac_n "(cached) $ac_c" 1>&6 
     
    741739 
    742740echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 
    743 echo "configure:744: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 
     741echo "configure:742: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 
    744742 
    745743ac_ext=c 
     
    752750cat > conftest.$ac_ext << EOF 
    753751 
    754 #line 755 "configure" 
     752#line 753 "configure" 
    755753#include "confdefs.h" 
    756754 
    757755main(){return(0);} 
    758756EOF 
    759 if { (eval echo configure:760: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
     757if { (eval echo configure:758: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
    760758  ac_cv_prog_cc_works=yes 
    761759  # If we can't run a trivial program, we are probably using a cross compiler. 
     
    783781fi 
    784782echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 
    785 echo "configure:786: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 
     783echo "configure:784: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 
    786784echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 
    787785cross_compiling=$ac_cv_prog_cc_cross 
    788786 
    789787echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 
    790 echo "configure:791: checking whether we are using GNU C" >&5 
     788echo "configure:789: checking whether we are using GNU C" >&5 
    791789if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then 
    792790  echo $ac_n "(cached) $ac_c" 1>&6 
     
    797795#endif 
    798796EOF 
    799 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:800: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then 
     797if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:798: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then 
    800798  ac_cv_prog_gcc=yes 
    801799else 
     
    816814CFLAGS= 
    817815echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 
    818 echo "configure:819: checking whether ${CC-cc} accepts -g" >&5 
     816echo "configure:817: checking whether ${CC-cc} accepts -g" >&5 
    819817if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then 
    820818  echo $ac_n "(cached) $ac_c" 1>&6 
     
    848846 
    849847echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 
    850 echo "configure:851: checking how to run the C preprocessor" >&5 
     848echo "configure:849: checking how to run the C preprocessor" >&5 
    851849# On Suns, sometimes $CPP names a directory. 
    852850if test -n "$CPP" && test -d "$CPP"; then 
     
    863861  # not just through cpp. 
    864862  cat > conftest.$ac_ext <<EOF 
    865 #line 866 "configure" 
     863#line 864 "configure" 
    866864#include "confdefs.h" 
    867865#include <assert.h> 
     
    869867EOF 
    870868ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 
    871 { (eval echo configure:872: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 
     869{ (eval echo configure:870: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 
    872870ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 
    873871if test -z "$ac_err"; then 
     
    880878  CPP="${CC-cc} -E -traditional-cpp" 
    881879  cat > conftest.$ac_ext <<EOF 
    882 #line 883 "configure" 
     880#line 881 "configure" 
    883881#include "confdefs.h" 
    884882#include <assert.h> 
     
    886884EOF 
    887885ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 
    888 { (eval echo configure:889: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 
     886{ (eval echo configure:887: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 
    889887ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 
    890888if test -z "$ac_err"; then 
     
    897895  CPP="${CC-cc} -nologo -E" 
    898896  cat > conftest.$ac_ext <<EOF 
    899 #line 900 "configure" 
     897#line 898 "configure" 
    900898#include "confdefs.h" 
    901899#include <assert.h> 
     
    903901EOF 
    904902ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 
    905 { (eval echo configure:906: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 
     903{ (eval echo configure:904: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 
    906904ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 
    907905if test -z "$ac_err"; then 
     
    940938# ./install, which can be erroneously created by make from ./install.sh. 
    941939echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 
    942 echo "configure:943: checking for a BSD compatible install" >&5 
     940echo "configure:941: checking for a BSD compatible install" >&5 
    943941if test -z "$INSTALL"; then 
    944942if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then 
     
    994992 
    995993echo $ac_n "checking for working const""... $ac_c" 1>&6 
    996 echo "configure:997: checking for working const" >&5 
     994echo "configure:995: checking for working const" >&5 
    997995if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then 
    998996  echo $ac_n "(cached) $ac_c" 1>&6 
    999997else 
    1000998  cat > conftest.$ac_ext <<EOF 
    1001 #line 1002 "configure" 
     999#line 1000 "configure" 
    10021000#include "confdefs.h" 
    10031001 
     
    10481046; return 0; } 
    10491047EOF 
    1050 if { (eval echo configure:1051: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 
     1048if { (eval echo configure:1049: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 
    10511049  rm -rf conftest* 
    10521050  ac_cv_c_const=yes 
     
    10691067 
    10701068echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6 
    1071 echo "configure:1072: checking whether byte ordering is bigendian" >&5 
     1069echo "configure:1070: checking whether byte ordering is bigendian" >&5 
    10721070if eval "test \"`echo '$''{'ac_cv_c_bigendian'+set}'`\" = set"; then 
    10731071  echo $ac_n "(cached) $ac_c" 1>&6 
     
    10761074# See if sys/param.h defines the BYTE_ORDER macro. 
    10771075cat > conftest.$ac_ext <<EOF 
    1078 #line 1079 "configure" 
     1076#line 1077 "configure" 
    10791077#include "confdefs.h" 
    10801078#include <sys/types.h> 
     
    10871085; return 0; } 
    10881086EOF 
    1089 if { (eval echo configure:1090: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 
     1087if { (eval echo configure:1088: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 
    10901088  rm -rf conftest* 
    10911089  # It does; now see whether it defined to BIG_ENDIAN or not. 
    10921090cat > conftest.$ac_ext <<EOF 
    1093 #line 1094 "configure" 
     1091#line 1092 "configure" 
    10941092#include "confdefs.h" 
    10951093#include <sys/types.h> 
     
    11021100; return 0; } 
    11031101EOF 
    1104 if { (eval echo configure:1105: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 
     1102if { (eval echo configure:1103: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 
    11051103  rm -rf conftest* 
    11061104  ac_cv_c_bigendian=yes 
     
    11221120else 
    11231121  cat > conftest.$ac_ext <<EOF 
    1124 #line 1125 "configure" 
     1122#line 1123 "configure" 
    11251123#include "confdefs.h" 
    11261124main () { 
     
    11351133} 
    11361134EOF 
    1137 if { (eval echo configure:1138: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 
     1135if { (eval echo configure:1136: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 
    11381136then 
    11391137  ac_cv_c_bigendian=no 
     
    11621160do 
    11631161echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 
    1164 echo "configure:1165: checking for $ac_func" >&5 
     1162echo "configure:1163: checking for $ac_func" >&5 
    11651163if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 
    11661164  echo $ac_n "(cached) $ac_c" 1>&6 
    11671165else 
    11681166  cat > conftest.$ac_ext <<EOF 
    1169 #line 1170 "configure" 
     1167#line 1168 "configure" 
    11701168#include "confdefs.h" 
    11711169/* System header to define __stub macros and hopefully few prototypes, 
     
    11901188; return 0; } 
    11911189EOF 
    1192 if { (eval echo configure:1193: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
     1190if { (eval echo configure:1191: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
    11931191  rm -rf conftest* 
    11941192  eval "ac_cv_func_$ac_func=yes" 
     
    12171215do 
    12181216echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 
    1219 echo "configure:1220: checking for $ac_func" >&5 
     1217echo "configure:1218: checking for $ac_func" >&5 
    12201218if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 
    12211219  echo $ac_n "(cached) $ac_c" 1>&6 
    12221220else 
    12231221  cat > conftest.$ac_ext <<EOF 
    1224 #line 1225 "configure" 
     1222#line 1223 "configure" 
    12251223#include "confdefs.h" 
    12261224/* System header to define __stub macros and hopefully few prototypes, 
     
    12451243; return 0; } 
    12461244EOF 
    1247 if { (eval echo configure:1248: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
     1245if { (eval echo configure:1246: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
    12481246  rm -rf conftest* 
    12491247  eval "ac_cv_func_$ac_func=yes" 
     
    12701268 
    12711269echo $ac_n "checking for connect""... $ac_c" 1>&6 
    1272 echo "configure:1273: checking for connect" >&5 
     1270echo "configure:1271: checking for connect" >&5 
    12731271if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then 
    12741272  echo $ac_n "(cached) $ac_c" 1>&6 
    12751273else 
    12761274  cat > conftest.$ac_ext <<EOF 
    1277 #line 1278 "configure" 
     1275#line 1276 "configure" 
    12781276#include "confdefs.h" 
    12791277/* System header to define __stub macros and hopefully few prototypes, 
     
    12981296; return 0; } 
    12991297EOF 
    1300 if { (eval echo configure:1301: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
     1298if { (eval echo configure:1299: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
    13011299  rm -rf conftest* 
    13021300  eval "ac_cv_func_connect=yes" 
     
    13161314  echo "$ac_t""no" 1>&6 
    13171315echo $ac_n "checking for connect in -lsocket""... $ac_c" 1>&6 
    1318 echo "configure:1319: checking for connect in -lsocket" >&5 
     1316echo "configure:1317: checking for connect in -lsocket" >&5 
    13191317ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'` 
    13201318if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 
     
    13241322LIBS="-lsocket  $LIBS" 
    13251323cat > conftest.$ac_ext <<EOF 
    1326 #line 1327 "configure" 
     1324#line 1325 "configure" 
    13271325#include "confdefs.h" 
    13281326/* Override any gcc2 internal prototype to avoid an error.  */ 
     
    13351333; return 0; } 
    13361334EOF 
    1337 if { (eval echo configure:1338: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
     1335if { (eval echo configure:1336: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
    13381336  rm -rf conftest* 
    13391337  eval "ac_cv_lib_$ac_lib_var=yes" 
     
    13651363 
    13661364echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6 
    1367 echo "configure:1368: checking for gethostbyname" >&5 
     1365echo "configure:1366: checking for gethostbyname" >&5 
    13681366if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then 
    13691367  echo $ac_n "(cached) $ac_c" 1>&6 
    13701368else 
    13711369  cat > conftest.$ac_ext <<EOF 
    1372 #line 1373 "configure" 
     1370#line 1371 "configure" 
    13731371#include "confdefs.h" 
    13741372/* System header to define __stub macros and hopefully few prototypes, 
     
    13931391; return 0; } 
    13941392EOF 
    1395 if { (eval echo configure:1396: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
     1393if { (eval echo configure:1394: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
    13961394  rm -rf conftest* 
    13971395  eval "ac_cv_func_gethostbyname=yes" 
     
    14111409  echo "$ac_t""no" 1>&6 
    14121410echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6 
    1413 echo "configure:1414: checking for gethostbyname in -lnsl" >&5 
     1411echo "configure:1412: checking for gethostbyname in -lnsl" >&5 
    14141412ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'` 
    14151413if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 
     
    14191417LIBS="-lnsl  $LIBS" 
    14201418cat > conftest.$ac_ext <<EOF 
    1421 #line 1422 "configure" 
     1419#line 1420 "configure" 
    14221420#include "confdefs.h" 
    14231421/* Override any gcc2 internal prototype to avoid an error.  */ 
     
    14301428; return 0; } 
    14311429EOF 
    1432 if { (eval echo configure:1433: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
     1430if { (eval echo configure:1431: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
    14331431  rm -rf conftest* 
    14341432  eval "ac_cv_lib_$ac_lib_var=yes" 
     
    14601458 
    14611459echo $ac_n "checking for nanosleep""... $ac_c" 1>&6 
    1462 echo "configure:1463: checking for nanosleep" >&5 
     1460echo "configure:1461: checking for nanosleep" >&5 
    14631461if eval "test \"`echo '$''{'ac_cv_func_nanosleep'+set}'`\" = set"; then 
    14641462  echo $ac_n "(cached) $ac_c" 1>&6 
    14651463else 
    14661464  cat > conftest.$ac_ext <<EOF 
    1467 #line 1468 "configure" 
     1465#line 1466 "configure" 
    14681466#include "confdefs.h" 
    14691467/* System header to define __stub macros and hopefully few prototypes, 
     
    14881486; return 0; } 
    14891487EOF 
    1490 if { (eval echo configure:1491: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
     1488if { (eval echo configure:1489: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
    14911489  rm -rf conftest* 
    14921490  eval "ac_cv_func_nanosleep=yes" 
     
    15061504  echo "$ac_t""no" 1>&6 
    15071505echo $ac_n "checking for nanosleep in -lrt""... $ac_c" 1>&6 
    1508 echo "configure:1509: checking for nanosleep in -lrt" >&5 
     1506echo "configure:1507: checking for nanosleep in -lrt" >&5 
    15091507ac_lib_var=`echo rt'_'nanosleep | sed 'y%./+-%__p_%'` 
    15101508if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 
     
    15141512LIBS="-lrt  $LIBS" 
    15151513cat > conftest.$ac_ext <<EOF 
    1516 #line 1517 "configure" 
     1514#line 1515 "configure" 
    15171515#include "confdefs.h" 
    15181516/* Override any gcc2 internal prototype to avoid an error.  */ 
     
    15251523; return 0; } 
    15261524EOF 
    1527 if { (eval echo configure:1528: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
     1525if { (eval echo configure:1526: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
    15281526  rm -rf conftest* 
    15291527  eval "ac_cv_lib_$ac_lib_var=yes" 
     
    15511549  echo "$ac_t""no" 1>&6 
    15521550echo $ac_n "checking for nanosleep in -lposix4""... $ac_c" 1>&6 
    1553 echo "configure:1554: checking for nanosleep in -lposix4" >&5 
     1551echo "configure:1552: checking for nanosleep in -lposix4" >&5 
    15541552ac_lib_var=`echo posix4'_'nanosleep | sed 'y%./+-%__p_%'` 
    15551553if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 
     
    15591557LIBS="-lposix4  $LIBS" 
    15601558cat > conftest.$ac_ext <<EOF 
    1561 #line 1562 "configure" 
     1559#line 1560 "configure" 
    15621560#include "confdefs.h" 
    15631561/* Override any gcc2 internal prototype to avoid an error.  */ 
     
    15701568; return 0; } 
    15711569EOF 
    1572 if { (eval echo configure:1573: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
     1570if { (eval echo configure:1571: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
    15731571  rm -rf conftest* 
    15741572  eval "ac_cv_lib_$ac_lib_var=yes" 
     
    16041602do 
    16051603echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 
    1606 echo "configure:1607: checking for $ac_func" >&5 
     1604echo "configure:1605: checking for $ac_func" >&5 
    16071605if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 
    16081606  echo $ac_n "(cached) $ac_c" 1>&6 
    16091607else 
    16101608  cat > conftest.$ac_ext <<EOF 
    1611 #line 1612 "configure" 
     1609#line 1610 "configure" 
    16121610#include "confdefs.h" 
    16131611/* System header to define __stub macros and hopefully few prototypes, 
     
    16321630; return 0; } 
    16331631EOF 
    1634 if { (eval echo configure:1635: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
     1632if { (eval echo configure:1633: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
    16351633  rm -rf conftest* 
    16361634  eval "ac_cv_func_$ac_func=yes" 
     
    16571655 
    16581656echo $ac_n "checking for inet_aton""... $ac_c" 1>&6 
    1659 echo "configure:1660: checking for inet_aton" >&5 
     1657echo "configure:1658: checking for inet_aton" >&5 
    16601658if eval "test \"`echo '$''{'ac_cv_func_inet_aton'+set}'`\" = set"; then 
    16611659  echo $ac_n "(cached) $ac_c" 1>&6 
    16621660else 
    16631661  cat > conftest.$ac_ext <<EOF 
    1664 #line 1665 "configure" 
     1662#line 1663 "configure" 
    16651663#include "confdefs.h" 
    16661664/* System header to define __stub macros and hopefully few prototypes, 
     
    16851683; return 0; } 
    16861684EOF 
    1687 if { (eval echo configure:1688: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
     1685if { (eval echo configure:1686: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
    16881686  rm -rf conftest* 
    16891687  eval "ac_cv_func_inet_aton=yes" 
     
    17031701  echo "$ac_t""no" 1>&6 
    17041702echo $ac_n "checking for inet_aton in -lresolv""... $ac_c" 1>&6 
    1705 echo "configure:1706: checking for inet_aton in -lresolv" >&5 
     1703echo "configure:1704: checking for inet_aton in -lresolv" >&5 
    17061704ac_lib_var=`echo resolv'_'inet_aton | sed 'y%./+-%__p_%'` 
    17071705if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 
     
    17111709LIBS="-lresolv  $LIBS" 
    17121710cat > conftest.$ac_ext <<EOF 
    1713 #line 1714 "configure" 
     1711#line 1712 "configure" 
    17141712#include "confdefs.h" 
    17151713/* Override any gcc2 internal prototype to avoid an error.  */ 
     
    17221720; return 0; } 
    17231721EOF 
    1724 if { (eval echo configure:1725: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
     1722if { (eval echo configure:1723: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
    17251723  rm -rf conftest* 
    17261724  eval "ac_cv_lib_$ac_lib_var=yes" 
     
    17551753ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 
    17561754echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 
    1757 echo "configure:1758: checking for $ac_hdr" >&5 
     1755echo "configure:1756: checking for $ac_hdr" >&5 
    17581756if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 
    17591757  echo $ac_n "(cached) $ac_c" 1>&6 
    17601758else 
    17611759  cat > conftest.$ac_ext <<EOF 
    1762 #line 1763 "configure" 
     1760#line 1761 "configure" 
    17631761#include "confdefs.h" 
    17641762#include <$ac_hdr> 
    17651763EOF 
    17661764ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 
    1767 { (eval echo configure:1768: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 
     1765{ (eval echo configure:1766: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 
    17681766ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 
    17691767if test -z "$ac_err"; then 
     
    17941792do 
    17951793echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 
    1796 echo "configure:1797: checking for $ac_func" >&5 
     1794echo "configure:1795: checking for $ac_func" >&5 
    17971795if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 
    17981796  echo $ac_n "(cached) $ac_c" 1>&6 
    17991797else 
    18001798  cat > conftest.$ac_ext <<EOF 
    1801 #line 1802 "configure" 
     1799#line 1800 "configure" 
    18021800#include "confdefs.h" 
    18031801/* System header to define __stub macros and hopefully few prototypes, 
     
    18221820; return 0; } 
    18231821EOF 
    1824 if { (eval echo configure:1825: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
     1822if { (eval echo configure:1823: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
    18251823  rm -rf conftest* 
    18261824  eval "ac_cv_func_$ac_func=yes" 
     
    18471845 
    18481846echo $ac_n "checking for working mmap""... $ac_c" 1>&6 
    1849 echo "configure:1850: checking for working mmap" >&5 
     1847echo "configure:1848: checking for working mmap" >&5 
    18501848if eval "test \"`echo '$''{'ac_cv_func_mmap_fixed_mapped'+set}'`\" = set"; then 
    18511849  echo $ac_n "(cached) $ac_c" 1>&6 
     
    18551853else 
    18561854  cat > conftest.$ac_ext <<EOF 
    1857 #line 1858 "configure" 
     1855#line 1856 "configure" 
    18581856#include "confdefs.h" 
    18591857 
     
    19981996 
    19991997EOF 
    2000 if { (eval echo configure:2001: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 
     1998if { (eval echo configure:1999: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 
    20011999<