Mercurial > hg > xemacs-beta
comparison configure.in @ 505:6495d35ba9df
[xemacs-hg @ 2001-05-05 08:26:03 by martinb]
Fix default value for opsys
author | martinb |
---|---|
date | Sat, 05 May 2001 08:26:04 +0000 |
parents | 5aa1854ad537 |
children | 7b35ad872326 |
comparison
equal
deleted
inserted
replaced
504:bcda0b3445a6 | 505:6495d35ba9df |
---|---|
1532 dnl Linux/68k | 1532 dnl Linux/68k |
1533 m68k-*-linux* ) machine=m68k opsys=linux ;; | 1533 m68k-*-linux* ) machine=m68k opsys=linux ;; |
1534 | 1534 |
1535 esac | 1535 esac |
1536 | 1536 |
1537 dnl Initialize machine and opsys from $canonical if not in our database above. | 1537 dnl Initialize machine from $canonical if not in our database above. |
1538 test -z "$machine" && machine=`echo $canonical | sed 's/-.*$//'` | 1538 test -z "$machine" && machine=`echo $canonical | sed 's/-.*$//'` |
1539 test -z "$opsys" && opsys=`echo $canonical | sed 's/^[^-]*-[^-]*-//'` | 1539 |
1540 dnl Initialize opsys from `uname -s` if not in our database above. | |
1541 test -z "$opsys" && opsys=`uname -s | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz` | |
1540 | 1542 |
1541 dnl Use configure-time autodetection if s&m not available | 1543 dnl Use configure-time autodetection if s&m not available |
1542 if test -r "${srcdir}/src/m/${machine}.h"; then | 1544 if test -r "${srcdir}/src/m/${machine}.h"; then |
1543 machfile="m/${machine}.h" | 1545 machfile="m/${machine}.h" |
1544 AC_DEFINE_UNQUOTED(config_machfile, "$machfile") | 1546 AC_DEFINE_UNQUOTED(config_machfile, "$machfile") |