1
dnl Process this file with autoconf to produce a configure script.
5
# Set name for machine-dependent library files
7
AC_MSG_CHECKING(MACHDEP)
10
if test -f /usr/lib/NextStep/software_version; then
11
set X `hostinfo | grep 'NeXT Mach.*:' | \
12
sed -e 's/://' -e 's/\./_/'` && \
13
ac_sys_system=next && ac_sys_release=$4
14
MACHDEP="$ac_sys_system$ac_sys_release$ac_sys_cpu"
16
ac_sys_system=`uname -s`
17
if test "$ac_sys_system" = "AIX" ; then
18
ac_sys_release=`uname -v`
20
ac_sys_release=`uname -r`
22
ac_md_system=`echo $ac_sys_system |
23
tr -d '[/ ]' | tr '[[A-Z]]' '[[a-z]]'`
24
ac_md_release=`echo $ac_sys_release |
25
tr -d '[/ ]' | sed 's/\..*//'`
26
MACHDEP="$ac_md_system$ac_md_release"
32
AC_MSG_RESULT($MACHDEP)
38
AC_CHECK_PROGS(AR, ar aal, ar)
40
dnl Checks for header files.
42
dnl Checks for library functions.
44
AC_OUTPUT(Makefile Doh/Makefile)