diff options
-rw-r--r-- | acaux.m4 | 81 | ||||
-rw-r--r-- | config.h.in | 61 | ||||
-rw-r--r-- | install-sh | 238 | ||||
-rw-r--r-- | mkinstalldirs | 35 | ||||
-rw-r--r-- | patchlvl.h | 13 |
5 files changed, 0 insertions, 428 deletions
diff --git a/acaux.m4 b/acaux.m4 deleted file mode 100644 index 0ac92d0..0000000 --- a/acaux.m4 +++ /dev/null @@ -1,81 +0,0 @@ -# -*- ksh -*- -# See also perl 5. -AC_DEFUN(AC_SYS_SHAREDLIB, -[AC_REQUIRE([AC_PROG_CC])dnl - AC_MSG_CHECKING(for shared library support) - sharedlib_extension=so # right for almost everything - sharedlib_suffix='.$(sharedlib_version)' - sharedlib_cflags= - sharedlib_buildflags= - sharedlib_buildflags_gcc= - sharedlib_linkflags= - sharedlib_linkflags_gcc= - sharedlib_postinstall= - - # We'll be changing some settings if gcc, below, - # but let's do the uname patterns only once. - case `(uname -a 2>&1) 2>/dev/null` in - FreeBSD*) # xx right uname? - # xx really need -DPIC in cflags? - # xx extension must be .so? - sharedlib_buildflags_gcc=-Wl,-Bshareable # xx must run ld? - ;; - HP-UX*) - sharedlib_extension=sl - sharedlib_suffix= - sharedlib_cflags=+z - sharedlib_buildflags=-Wl,-b # xx must run ld? - sharedlib_postinstall="chmod a+x" - ;; - IRIX*) - sharedlib_buildflags='-shared -no_unresolved \ --set_version sgi$(sharedlib_version) -soname $(sharedlib)' - sharedlib_linkflags='-rpath $(libdir)' - sharedlib_linkflags_gcc='-Wl,-rpath,$(libdir)' - ;; - Linux*) -# sharedlib_buildflags_gcc='-shared -Wl,-soname,$(sharedlib)' - sharedlib_postinstall='ldconfig #' - sharedlib_linkflags='-Wl,-rpath,$(libdir)' - ;; - OSF1*) - # xx run ld? link with -lc? - # version stuff not right, since old versions should also be - # passed to -set_version. - sharedlib_buildflags='-Wl,shared -set_version $(sharedlib_version)' - sharedlib_linkflags='-Wl,-rpath,$(libdir)' - ;; - SunOS*4.*) - sharedlib_cflags=-PIC - sharedlib_linkflags='-L$(libdir)' - ;; - SunOS*5.*) - sharedlib_cflags="-K pic" - sharedlib_buildflags='-G -z text -h $(sharedlib)' - sharedlib_linkflags='-R$(libdir)' - ;; - esac - - # If GCC, things are usually simpler. - if test "$GCC" = yes; then - sharedlib_cflags=-fPIC # should we ever use -fpic? - if test -n "$sharedlib_buildflags_gcc"; then - sharedlib_buildflags=$sharedlib_buildflags_gcc - else - sharedlib_buildflags=-shared - fi - if test -n "$sharedlib_linkflags_gcc"; then - sharedlib_linkflags=$sharedlib_linkflags_gcc - fi - fi - - test -z "$sharedlib_postinstall" && sharedlib_postinstall=: - - AC_MSG_RESULT($sharedlib_cflags/$sharedlib_buildflags/$sharedlib_linkflags) - AC_SUBST(sharedlib_extension)dnl - AC_SUBST(sharedlib_suffix)dnl - AC_SUBST(sharedlib_cflags)dnl - AC_SUBST(sharedlib_buildflags)dnl - AC_SUBST(sharedlib_linkflags)dnl - AC_SUBST(sharedlib_postinstall)dnl -]) diff --git a/config.h.in b/config.h.in deleted file mode 100644 index a17381a..0000000 --- a/config.h.in +++ /dev/null @@ -1,61 +0,0 @@ -/* config.h.in. Generated automatically from configure.in by autoheader. */ - -/* Define to empty if the keyword does not work. */ -#undef const - -/* Define if your C compiler doesn't accept -c and -o together. */ -#undef NO_MINUS_C_MINUS_O - -/* Define if you need to in order for stat and other things to work. */ -#undef _POSIX_SOURCE - -/* Define if you have the ANSI C header files. */ -#undef STDC_HEADERS - -/* Define if the X Window System is missing or not being used. */ -#undef X_DISPLAY_MISSING - -/* Define if you have the gettimeofday function. */ -#undef HAVE_GETTIMEOFDAY - -/* Define if you have the <X11/xpm.h> header file. */ -#undef HAVE_X11_XPM_H - -/* Define if you have the <limits.h> header file. */ -#undef HAVE_LIMITS_H - -/* Define if you have the <memory.h> header file. */ -#undef HAVE_MEMORY_H - -/* Define if you have the <stdarg.h> header file. */ -#undef HAVE_STDARG_H - -/* Define if you have the <stddef.h> header file. */ -#undef HAVE_STDDEF_H - -/* Define if you have the <stdlib.h> header file. */ -#undef HAVE_STDLIB_H - -/* Define if you have the <string.h> header file. */ -#undef HAVE_STRING_H - -/* Define if you have the <strings.h> header file. */ -#undef HAVE_STRINGS_H - -/* Define if you have the <sys/time.h> header file. */ -#undef HAVE_SYS_TIME_H - -/* Define if you have the <sys/timeb.h> header file. */ -#undef HAVE_SYS_TIMEB_H - -/* Define if you have the <sys/times.h> header file. */ -#undef HAVE_SYS_TIMES_H - -/* Define if you have the <sys/types.h> header file. */ -#undef HAVE_SYS_TYPES_H - -/* Define if you have the <unistd.h> header file. */ -#undef HAVE_UNISTD_H - -/* Define if you have the <values.h> header file. */ -#undef HAVE_VALUES_H diff --git a/install-sh b/install-sh deleted file mode 100644 index ab74c88..0000000 --- a/install-sh +++ /dev/null @@ -1,238 +0,0 @@ -#!/bin/sh -# -# install - install a program, script, or datafile -# This comes from X11R5. -# -# Calling this script install-sh is preferred over install.sh, to prevent -# `make' implicit rules from creating a file called install from it -# when there is no Makefile. -# -# This script is compatible with the BSD install script, but was written -# from scratch. -# - - -# set DOITPROG to echo to test this script - -# Don't use :- since 4.3BSD and earlier shells don't like it. -doit="${DOITPROG-}" - - -# put in absolute paths if you don't have them in your path; or use env. vars. - -mvprog="${MVPROG-mv}" -cpprog="${CPPROG-cp}" -chmodprog="${CHMODPROG-chmod}" -chownprog="${CHOWNPROG-chown}" -chgrpprog="${CHGRPPROG-chgrp}" -stripprog="${STRIPPROG-strip}" -rmprog="${RMPROG-rm}" -mkdirprog="${MKDIRPROG-mkdir}" - -tranformbasename="" -transform_arg="" -instcmd="$mvprog" -chmodcmd="$chmodprog 0755" -chowncmd="" -chgrpcmd="" -stripcmd="" -rmcmd="$rmprog -f" -mvcmd="$mvprog" -src="" -dst="" -dir_arg="" - -while [ x"$1" != x ]; do - case $1 in - -c) instcmd="$cpprog" - shift - continue;; - - -d) dir_arg=true - shift - continue;; - - -m) chmodcmd="$chmodprog $2" - shift - shift - continue;; - - -o) chowncmd="$chownprog $2" - shift - shift - continue;; - - -g) chgrpcmd="$chgrpprog $2" - shift - shift - continue;; - - -s) stripcmd="$stripprog" - shift - continue;; - - -t=*) transformarg=`echo $1 | sed 's/-t=//'` - shift - continue;; - - -b=*) transformbasename=`echo $1 | sed 's/-b=//'` - shift - continue;; - - *) if [ x"$src" = x ] - then - src=$1 - else - # this colon is to work around a 386BSD /bin/sh bug - : - dst=$1 - fi - shift - continue;; - esac -done - -if [ x"$src" = x ] -then - echo "install: no input file specified" - exit 1 -else - true -fi - -if [ x"$dir_arg" != x ]; then - dst=$src - src="" - - if [ -d $dst ]; then - instcmd=: - else - instcmd=mkdir - fi -else - -# Waiting for this to be detected by the "$instcmd $src $dsttmp" command -# might cause directories to be created, which would be especially bad -# if $src (and thus $dsttmp) contains '*'. - - if [ -f $src -o -d $src ] - then - true - else - echo "install: $src does not exist" - exit 1 - fi - - if [ x"$dst" = x ] - then - echo "install: no destination specified" - exit 1 - else - true - fi - -# If destination is a directory, append the input filename; if your system -# does not like double slashes in filenames, you may need to add some logic - - if [ -d $dst ] - then - dst="$dst"/`basename $src` - else - true - fi -fi - -## this sed command emulates the dirname command -dstdir=`echo $dst | sed -e 's,[^/]*$,,;s,/$,,;s,^$,.,'` - -# Make sure that the destination directory exists. -# this part is taken from Noah Friedman's mkinstalldirs script - -# Skip lots of stat calls in the usual case. -if [ ! -d "$dstdir" ]; then -defaultIFS=' -' -IFS="${IFS-${defaultIFS}}" - -oIFS="${IFS}" -# Some sh's can't handle IFS=/ for some reason. -IFS='%' -set - `echo ${dstdir} | sed -e 's@/@%@g' -e 's@^%@/@'` -IFS="${oIFS}" - -pathcomp='' - -while [ $# -ne 0 ] ; do - pathcomp="${pathcomp}${1}" - shift - - if [ ! -d "${pathcomp}" ] ; - then - $mkdirprog "${pathcomp}" - else - true - fi - - pathcomp="${pathcomp}/" -done -fi - -if [ x"$dir_arg" != x ] -then - $doit $instcmd $dst && - - if [ x"$chowncmd" != x ]; then $doit $chowncmd $dst; else true ; fi && - if [ x"$chgrpcmd" != x ]; then $doit $chgrpcmd $dst; else true ; fi && - if [ x"$stripcmd" != x ]; then $doit $stripcmd $dst; else true ; fi && - if [ x"$chmodcmd" != x ]; then $doit $chmodcmd $dst; else true ; fi -else - -# If we're going to rename the final executable, determine the name now. - - if [ x"$transformarg" = x ] - then - dstfile=`basename $dst` - else - dstfile=`basename $dst $transformbasename | - sed $transformarg`$transformbasename - fi - -# don't allow the sed command to completely eliminate the filename - - if [ x"$dstfile" = x ] - then - dstfile=`basename $dst` - else - true - fi - -# Make a temp file name in the proper directory. - - dsttmp=$dstdir/#inst.$$# - -# Move or copy the file name to the temp name - - $doit $instcmd $src $dsttmp && - - trap "rm -f ${dsttmp}" 0 && - -# and set any options; do chmod last to preserve setuid bits - -# If any of these fail, we abort the whole thing. If we want to -# ignore errors from any of these, just make sure not to ignore -# errors from the above "$doit $instcmd $src $dsttmp" command. - - if [ x"$chowncmd" != x ]; then $doit $chowncmd $dsttmp; else true;fi && - if [ x"$chgrpcmd" != x ]; then $doit $chgrpcmd $dsttmp; else true;fi && - if [ x"$stripcmd" != x ]; then $doit $stripcmd $dsttmp; else true;fi && - if [ x"$chmodcmd" != x ]; then $doit $chmodcmd $dsttmp; else true;fi && - -# Now rename the file to the real destination. - - $doit $rmcmd -f $dstdir/$dstfile && - $doit $mvcmd $dsttmp $dstdir/$dstfile - -fi && - - -exit 0 diff --git a/mkinstalldirs b/mkinstalldirs deleted file mode 100644 index 0e29377..0000000 --- a/mkinstalldirs +++ /dev/null @@ -1,35 +0,0 @@ -#!/bin/sh -# Make directory hierarchy. -# Written by Noah Friedman <friedman@prep.ai.mit.edu> -# Public domain. - -defaultIFS=' -' -IFS="${IFS-${defaultIFS}}" - -errstatus=0 - -for file in ${1+"$@"} ; do - oIFS="${IFS}" - # Some sh's can't handle IFS=/ for some reason. - IFS='%' - set - `echo ${file} | sed -e 's@/@%@g' -e 's@^%@/@'` - IFS="${oIFS}" - - pathcomp='' - - for d in ${1+"$@"} ; do - pathcomp="${pathcomp}${d}" - - if test ! -d "${pathcomp}"; then - echo "mkdir $pathcomp" 1>&2 - mkdir "${pathcomp}" || errstatus=$? - fi - - pathcomp="${pathcomp}/" - done -done - -exit $errstatus - -# eof diff --git a/patchlvl.h b/patchlvl.h deleted file mode 100644 index 4ccf13a..0000000 --- a/patchlvl.h +++ /dev/null @@ -1,13 +0,0 @@ -/* - * ZINCVERSION is a string for the version specifier. - */ - -/* - * Keep these in sync with VERSION in Makefile.in - */ -#ifndef ZINCVERSION -#define ZINCVER 3 -#define ZINCREV 2 -#define ZINCPLVL 06 -#define ZINCVERSION "zinc-version-3206i" -#endif |