summaryrefslogtreecommitdiff
path: root/packaging/Caldera/OpenServer/Configure
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2003-09-09 03:25:53 +0000
committerGerald Carter <jerry@samba.org>2003-09-09 03:25:53 +0000
commitdbfcec04a1691659743f8f6ab065b8212fd9a5dd (patch)
tree6d5f2df124fa4c22a4816d6ac4f7cac117ac23f3 /packaging/Caldera/OpenServer/Configure
parent3cf6eaebd6c57974d33934bf9647b0ab9f50f88e (diff)
downloadsamba-dbfcec04a1691659743f8f6ab065b8212fd9a5dd.tar.gz
samba-dbfcec04a1691659743f8f6ab065b8212fd9a5dd.tar.bz2
samba-dbfcec04a1691659743f8f6ab065b8212fd9a5dd.zip
syncing packaging files from 3.0
(This used to be commit 9374755ad3b844a86642a7ea1795ec2b8ab736b2)
Diffstat (limited to 'packaging/Caldera/OpenServer/Configure')
-rwxr-xr-xpackaging/Caldera/OpenServer/Configure73
1 files changed, 0 insertions, 73 deletions
diff --git a/packaging/Caldera/OpenServer/Configure b/packaging/Caldera/OpenServer/Configure
deleted file mode 100755
index 65a4f1186f..0000000000
--- a/packaging/Caldera/OpenServer/Configure
+++ /dev/null
@@ -1,73 +0,0 @@
-#!/bin/ksh
-#
-# invoke with -n as the first argument to get this script to tell
-# you what it would do without doing anything
-#
-
-V=
-[ "$1" = "-n" ] && V=echo
-
-CC="gcc -I/usr/local/include -L/usr/local/lib"
-CFLAGS="-O3 -I/usr/local/include -L/usr/local/lib"
-CXX="g++"
-CXXFLAGS="-O3 -I/usr/local/include/stl -I/usr/local/include -L/usr/local/lib"
-RANLIB=true
-MAKE=/usr/local/bin/make
-PREFIX=/usr/local/samba
-if [ "$V" = "echo" ]
-then
- echo "exporting the following shell variables:"
- echo "CC=$CC"
- echo "CXX=$CXX"
- echo "RANLIB=$RANLIB"
- echo "MAKE=$MAKE"
- echo "CFLAGS=$CFLAGS"
- echo "CXXFLAGS=$CXXFLAGS"
- echo "PREFIX=$PREFIX"
-else
- export CC CXX RANLIB MAKE CFLAGS CXXFLAGS PREFIX
-fi
-
-cd ../../../source
-[ -f mout-config ] && {
- if [ "$V" = "echo" ]
- then
- echo "mv mout-config mout-config$$"
- else
- mv mout-config mout-config$$
- fi
-}
-if [ "$V" = "echo" ]
-then
- echo "./configure \
- --prefix=${PREFIX} \
- --with-profile \
- --with-syslog \
- --with-utmp \
- --with-vfs \
- --with-msdfs \
- --with-netatalk \
- --with-sambabook=${PREFIX}/swat/using_samba \
- 2>&1 | tee mout-config"
-else
- ./configure \
- --prefix=${PREFIX} \
- --with-profile \
- --with-syslog \
- --with-utmp \
- --with-vfs \
- --with-msdfs \
- --with-netatalk \
- --with-sambabook=${PREFIX}/swat/using_samba \
- 2>&1 | tee mout-config
-fi
-
-cat >> include/config.h <<EOF
-#ifdef HAVE_LONGLONG
-#undef HAVE_LONGLONG
-#endif
-EOF
-
-sed -e "s/nobody/nouser/" include/local.h > /tmp/nouser$$
-cp /tmp/nouser$$ include/local.h
-rm -f /tmp/nouser$$