From 8ff6b5ea6824fb1710455bcf11bbafdf8aa7cbed Mon Sep 17 00:00:00 2001 From: Michael R Sweet Date: Sun, 15 Jun 2003 01:37:32 +0000 Subject: [PATCH] Fix configure script handling of uname. --- configure | 4 ++-- configure.in | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/configure b/configure index 387d4a4..8d98e6b 100755 --- a/configure +++ b/configure @@ -2616,7 +2616,7 @@ if test "$docdir" = "NONE"; then fi if test "$mandir" = "\${prefix}/man" -a "$prefix" = "/usr"; then - case "$uname" in + case "`uname`" in *BSD* | Darwin* | Linux*) # BSD, Darwin (MacOS X), and Linux mandir="/usr/share/man" @@ -2632,7 +2632,7 @@ if test "$mandir" = "\${prefix}/man" -a "$prefix" = "/usr"; then esac fi -case "$uname" in +case "`uname`" in *BSD* | Darwin*) # *BSD CAT1EXT="0" diff --git a/configure.in b/configure.in index 24eca2c..bfd6e58 100644 --- a/configure.in +++ b/configure.in @@ -1,5 +1,5 @@ dnl -dnl "$Id: configure.in,v 1.4 2003/06/15 01:22:36 mike Exp $" +dnl "$Id: configure.in,v 1.5 2003/06/15 01:37:32 mike Exp $" dnl dnl Configuration script for mini-XML, a small XML-like file parsing library. dnl @@ -93,7 +93,7 @@ fi dnl Fix "mandir" variable if it hasn't been specified... if test "$mandir" = "\${prefix}/man" -a "$prefix" = "/usr"; then - case "$uname" in + case "`uname`" in *BSD* | Darwin* | Linux*) # BSD, Darwin (MacOS X), and Linux mandir="/usr/share/man" @@ -110,7 +110,7 @@ if test "$mandir" = "\${prefix}/man" -a "$prefix" = "/usr"; then fi dnl More manpage stuff... -case "$uname" in +case "`uname`" in *BSD* | Darwin*) # *BSD CAT1EXT="0" @@ -136,5 +136,5 @@ dnl Output the makefile, etc... AC_OUTPUT(Makefile mxml.list) dnl -dnl End of "$Id: configure.in,v 1.4 2003/06/15 01:22:36 mike Exp $". +dnl End of "$Id: configure.in,v 1.5 2003/06/15 01:37:32 mike Exp $". dnl