home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Geek Gadgets 1
/
ADE-1.bin
/
ade-dist
/
libg++-2.7.1-base.tgz
/
libg++-2.7.1-src.tar
/
fsf
/
libg++
/
libio
/
configure.in
< prev
next >
Wrap
Text File
|
1995-11-12
|
2KB
|
79 lines
# This file is a shell script fragment that supplies the information
# necessary for a configure script to process the program in
# this directory. For more information, look at ../configure.
# We need multilib support.
. ${srcdir}/../cfg-ml-com.in
configdirs="tests dbz stdio"
srctrigger=libioP.h
srcname="input/output library"
package_makefile_frag=Make.pack
# per-host:
# per-target:
echo "# Warning: this fragment is automatically generated" > temp.mt
frags=
case "${target}" in
*-hpux*) frags=hpux.mt ;;
*-linux*)
echo "WARNING: The I/O implementation in libg++ 2.7.x is not"
echo " compatible with Linux libc through 5.2.x."
echo " YOU ARE ON YOUR OWN!"
frags=linux.mt ;;
*-sco3.2v4*) frags=sco4.mt ;;
*-isc*) frags=isc.mt ;;
*-netware*) frags=netware.mt ;;
*) frags=${target_cpu}.mt ;;
esac
if [ "${enable_shared}" = "yes" ]; then
case "${target}" in
hppa*-*) frags="${frags} ../../config/mh-papic" ;;
i[345]86-*) frags="${frags} ../../config/mh-x86pic" ;;
*) frags="${frags} ../../config/mh-${target_cpu}pic" ;;
esac
fi
for frag in ${frags}; do
frag=${srcdir}/config/$frag
if [ -f ${frag} ]; then
echo "Appending ${frag} to target-mkfrag"
echo "# Following fragment copied from ${frag}" >> temp.mt
cat ${frag} >> temp.mt
fi
done
target_makefile_frag=target-mkfrag
${moveifchange} temp.mt target-mkfrag
LIBDIR=yes
TO_TOPDIR=../
ALL='$(_G_CONFIG_H) libio.a libiostream.a'
XCINCLUDES='-I. -I$(srcdir)'
XCXXINCLUDES='-I. -I$(srcdir)'
MOSTLYCLEAN='*.o pic stamp-picdir core iostream.list'
DISTCLEAN='config.status Makefile *~ Make.pack target-mkfrag'
CLEAN='_G_config.h *.a'
INFO_FILES=iostream
(. ${srcdir}/config.shared) >${package_makefile_frag}
# post-target:
# If cross-compiling, don't build gperf or the utils. They
# will get built by the target compiler, which is confusing.
# We cannot test the installation. We install in $(tooldir).
if [ ${host} != ${target} ] ; then
rm -f Makefile.tem
sed \
-e 's|INSTALLDIR.*=.*$|INSTALLDIR = $(tooldir)/lib|' \
Makefile >Makefile.tem
mv -f Makefile.tem Makefile
fi
# We need multilib support.
. ${srcdir}/../cfg-ml-pos.in