summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Banck <mbanck@debian.org>2006-07-13 00:09:23 -0700
committerAlan Coopersmith <alanc@alf.(none)>2006-07-13 00:09:23 -0700
commit53519cafb9a145901730fb0f2a1fd78e5a0a82e7 (patch)
tree19f62cdd09714add636de213c753d1c2693e5027
parentaa72e4701d6653a7cf7d47b51b705e1c0890f381 (diff)
Bug #6782: Fix *_MAN_* macros to support GNU/Hurd
X.Org Bug #6782 <https://bugs.freedesktop.org/show_bug.cgi?id=6782> Patch #5519 <https://bugs.freedesktop.org/attachment.cgi?id=5519>
-rw-r--r--xorg-macros.m420
1 files changed, 10 insertions, 10 deletions
diff --git a/xorg-macros.m4 b/xorg-macros.m4
index 5e6a8b2..120867f 100644
--- a/xorg-macros.m4
+++ b/xorg-macros.m4
@@ -79,40 +79,40 @@ AC_REQUIRE([AC_CANONICAL_HOST])
if test x$APP_MAN_SUFFIX = x ; then
case $host_os in
- linux* | k*bsd*-gnu) APP_MAN_SUFFIX=1x ;;
+ linux* | gnu* | k*bsd*-gnu) APP_MAN_SUFFIX=1x ;;
*) APP_MAN_SUFFIX=1 ;;
esac
fi
if test x$APP_MAN_DIR = x ; then
case $host_os in
- linux* | k*bsd*-gnu) APP_MAN_DIR='$(mandir)/man1' ;;
+ linux* | gnu* | k*bsd*-gnu) APP_MAN_DIR='$(mandir)/man1' ;;
*) APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)' ;;
esac
fi
if test x$LIB_MAN_SUFFIX = x ; then
case $host_os in
- linux* | k*bsd*-gnu) LIB_MAN_SUFFIX=3x ;;
+ linux* | gnu* | k*bsd*-gnu) LIB_MAN_SUFFIX=3x ;;
*) LIB_MAN_SUFFIX=3 ;;
esac
fi
if test x$LIB_MAN_DIR = x ; then
case $host_os in
- linux* | k*bsd*-gnu) LIB_MAN_DIR='$(mandir)/man3' ;;
+ linux* | gnu* | k*bsd*-gnu) LIB_MAN_DIR='$(mandir)/man3' ;;
*) LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)' ;;
esac
fi
if test x$FILE_MAN_SUFFIX = x ; then
case $host_os in
- linux* | k*bsd*-gnu) FILE_MAN_SUFFIX=5x ;;
+ linux* | gnu* | k*bsd*-gnu) FILE_MAN_SUFFIX=5x ;;
solaris*) FILE_MAN_SUFFIX=4 ;;
*) FILE_MAN_SUFFIX=5 ;;
esac
fi
if test x$FILE_MAN_DIR = x ; then
case $host_os in
- linux* | k*bsd*-gnu) FILE_MAN_DIR='$(mandir)/man5' ;;
+ linux* | gnu* | k*bsd*-gnu) FILE_MAN_DIR='$(mandir)/man5' ;;
*) FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)' ;;
esac
fi
@@ -121,14 +121,14 @@ fi
# LinuxDebian, not other Linuxes, so we leave it unchanged here
if test x$MISC_MAN_SUFFIX = x ; then
case $host_os in
-# linux* | k*bsd*-gnu) MISC_MAN_SUFFIX=7x ;;
+# linux* | gnu* | k*bsd*-gnu) MISC_MAN_SUFFIX=7x ;;
solaris*) MISC_MAN_SUFFIX=5 ;;
*) MISC_MAN_SUFFIX=7 ;;
esac
fi
if test x$MISC_MAN_DIR = x ; then
case $host_os in
-# linux* | k*bsd*-gnu) MISC_MAN_DIR='$(mandir)/man7' ;;
+# linux* | gnu* | k*bsd*-gnu) MISC_MAN_DIR='$(mandir)/man7' ;;
*) MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)' ;;
esac
fi
@@ -137,14 +137,14 @@ fi
# LinuxDebian, not other Linuxes, so we leave it unchanged here
if test x$DRIVER_MAN_SUFFIX = x ; then
case $host_os in
-# linux* | k*bsd*-gnu) DRIVER_MAN_SUFFIX=4x ;;
+# linux* | gnu* | k*bsd*-gnu) DRIVER_MAN_SUFFIX=4x ;;
solaris*) DRIVER_MAN_SUFFIX=7 ;;
*) DRIVER_MAN_SUFFIX=4 ;;
esac
fi
if test x$DRIVER_MAN_DIR = x ; then
case $host_os in
-# linux* | k*bsd*-gnu) DRIVER_MAN_DIR='$(mandir)/man4' ;;
+# linux* | gnu* | k*bsd*-gnu) DRIVER_MAN_DIR='$(mandir)/man4' ;;
*) DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)' ;;
esac
fi