From 1ad0708e410a1e22ea6c5f7100ee024eb99e1527 Mon Sep 17 00:00:00 2001
From: rtoy <rtoy>
Date: Mon, 9 Feb 2009 18:02:07 +0000
Subject: [PATCH] o Change default Linux config from linux_gencgc to x86_linux,
 to match   FreeBSD changes. o Update MOTIF_VARIANT stuff to recognize the new
 x86_freebsd and   x86_linux LISP_VARIANTs.

---
 tools/create-target.sh | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/tools/create-target.sh b/tools/create-target.sh
index 72f0846fb..f8f2ec385 100755
--- a/tools/create-target.sh
+++ b/tools/create-target.sh
@@ -27,7 +27,7 @@ if [ $# = 1 ]; then
     TARGET_DIR="$1"
     case `uname -s` in
     SunOS) LISP_VARIANT=sun4_solaris_gcc ;;
-    Linux) LISP_VARIANT=linux_gencgc ;;
+    Linux) LISP_VARIANT=x86_linux ;;
     Darwin) case `uname -m` in
             ppc) LISP_VARIANT=ppc_darwin ;;
 	    i386) LISP_VARIANT=x86_darwin ;;
@@ -66,7 +66,7 @@ if [ "$MOTIF_VARIANT" = "" ]; then
     case $LISP_VARIANT in
       alpha_linux) MOTIF_VARIANT=alpha_linux ;;
       alpha_osf1) MOTIF_VARIANT=alpha_osf1 ;;
-      FreeBSD*|freebsd*) MOTIF_VARIANT=FreeBSD ;;
+      x86_freebsd|FreeBSD*|freebsd*) MOTIF_VARIANT=FreeBSD ;;
       NetBSD*) MOTIF_VARIANT=NetBSD ;;
       OpenBSD*) MOTIF_VARIANT=OpenBSD ;;
       *_darwin) MOTIF_VARIANT=Darwin ;;
@@ -75,7 +75,7 @@ if [ "$MOTIF_VARIANT" = "" ]; then
       hp700*) MOTIF_VARIANT=hpux_cc ;;
       pmax_mach) MOTIF_VARIANT=pmax_mach ;;
       sgi*) MOTIF_VARIANT=irix ;;
-      linux*) MOTIF_VARIANT=x86 ;;
+      x86_linux|linux*) MOTIF_VARIANT=x86 ;;
     esac
 elif [ ! -f src/motif/server/Config.$MOTIF_VARIANT ]; then
     echo "No such motif-variant could be found: Config.$MOTIF_VARIANT"
-- 
GitLab