mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-20 04:48:06 +01:00
Some bug fixes to 0.50.0 before release
This commit is contained in:
@@ -76,6 +76,7 @@ LN_S = @LN_S@
|
|||||||
MAKEINFO = @MAKEINFO@
|
MAKEINFO = @MAKEINFO@
|
||||||
MOFILES = @MOFILES@
|
MOFILES = @MOFILES@
|
||||||
NLSDIR = @NLSDIR@
|
NLSDIR = @NLSDIR@
|
||||||
|
NM = @NM@
|
||||||
PACKAGE = @PACKAGE@
|
PACKAGE = @PACKAGE@
|
||||||
RANLIB = @RANLIB@
|
RANLIB = @RANLIB@
|
||||||
REDUCE_APPICONS = @REDUCE_APPICONS@
|
REDUCE_APPICONS = @REDUCE_APPICONS@
|
||||||
|
|||||||
@@ -8,8 +8,8 @@
|
|||||||
DisplayFont = "-*-helvetica-medium-r-normal-*-12-*-*-*-*-*-*-*";
|
DisplayFont = "-*-helvetica-medium-r-normal-*-12-*-*-*-*-*-*-*";
|
||||||
HighlightColor = white;
|
HighlightColor = white;
|
||||||
HighlightTextColor = black;
|
HighlightTextColor = black;
|
||||||
ClipTitleColor = "rgb:79/96/cf";
|
ClipTitleColor = "rgb:00/b7/f7";
|
||||||
CClipTitleColor = "rgb:61/61/61";
|
CClipTitleColor = "rgb:00/61/81";
|
||||||
FTitleColor = white;
|
FTitleColor = white;
|
||||||
PTitleColor = white;
|
PTitleColor = white;
|
||||||
UTitleColor = "rgb:79/96/cf";
|
UTitleColor = "rgb:79/96/cf";
|
||||||
@@ -47,6 +47,13 @@
|
|||||||
"rgb:79/a2/d0",
|
"rgb:79/a2/d0",
|
||||||
"rgb:96/d7/e7"
|
"rgb:96/d7/e7"
|
||||||
);
|
);
|
||||||
IconBack = (mdgradient, "rgb:18/34/54", "rgb:28/45/69", "rgb:08/24/20");
|
IconBack = (
|
||||||
|
mdgradient,
|
||||||
|
"rgb:58/74/94",
|
||||||
|
"rgb:79/a2/d0",
|
||||||
|
"rgb:28/45/96",
|
||||||
|
"rgb:20/24/4a",
|
||||||
|
"rgb:20/24/4a"
|
||||||
|
);
|
||||||
WorkspaceBack = (spixmap, SeaNight.jpeg, black);
|
WorkspaceBack = (spixmap, SeaNight.jpeg, black);
|
||||||
}
|
}
|
||||||
|
|||||||
214
aclocal.m4
vendored
214
aclocal.m4
vendored
@@ -112,94 +112,187 @@ fi
|
|||||||
AC_SUBST($1)])
|
AC_SUBST($1)])
|
||||||
|
|
||||||
|
|
||||||
# serial 9 AM_PROG_LIBTOOL
|
# serial 24 AM_PROG_LIBTOOL
|
||||||
AC_DEFUN(AM_PROG_LIBTOOL,
|
AC_DEFUN(AM_PROG_LIBTOOL,
|
||||||
[AC_REQUIRE([AC_CANONICAL_HOST])
|
[AC_REQUIRE([AM_ENABLE_SHARED])dnl
|
||||||
AC_REQUIRE([AC_PROG_CC])
|
AC_REQUIRE([AM_ENABLE_STATIC])dnl
|
||||||
AC_REQUIRE([AC_PROG_RANLIB])
|
AC_REQUIRE([AC_CANONICAL_HOST])dnl
|
||||||
AC_REQUIRE([AM_PROG_LD])
|
AC_REQUIRE([AC_PROG_RANLIB])dnl
|
||||||
AC_REQUIRE([AC_PROG_LN_S])
|
AC_REQUIRE([AC_PROG_CC])dnl
|
||||||
|
AC_REQUIRE([AM_PROG_LD])dnl
|
||||||
|
AC_REQUIRE([AM_PROG_NM])dnl
|
||||||
|
AC_REQUIRE([AC_PROG_LN_S])dnl
|
||||||
|
dnl
|
||||||
# Always use our own libtool.
|
# Always use our own libtool.
|
||||||
LIBTOOL='$(top_builddir)/libtool'
|
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
|
||||||
AC_SUBST(LIBTOOL)
|
AC_SUBST(LIBTOOL)dnl
|
||||||
|
|
||||||
dnl Allow the --disable-shared flag to stop us from building shared libs.
|
# Check for any special flags to pass to ltconfig.
|
||||||
AC_ARG_ENABLE(shared,
|
libtool_flags=
|
||||||
[ --enable-shared build shared libraries [default=yes]],
|
test "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared"
|
||||||
test "$enableval" = no && libtool_shared=" --disable-shared",
|
test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static"
|
||||||
libtool_shared=)
|
|
||||||
|
|
||||||
dnl Allow the --disable-static flag to stop us from building static libs.
|
|
||||||
AC_ARG_ENABLE(static,
|
|
||||||
[ --enable-static build static libraries [default=yes]],
|
|
||||||
test "$enableval" = no && libtool_static=" --disable-static",
|
|
||||||
libtool_static=)
|
|
||||||
|
|
||||||
libtool_flags="$libtool_shared$libtool_static"
|
|
||||||
test "$silent" = yes && libtool_flags="$libtool_flags --silent"
|
test "$silent" = yes && libtool_flags="$libtool_flags --silent"
|
||||||
test "$ac_cv_prog_gcc" = yes && libtool_flags="$libtool_flags --with-gcc"
|
test "$ac_cv_prog_gcc" = yes && libtool_flags="$libtool_flags --with-gcc"
|
||||||
test "$ac_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
|
test "$ac_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
|
||||||
|
|
||||||
# Some flags need to be propagated to the compiler or linker for good
|
# Some flags need to be propagated to the compiler or linker for good
|
||||||
# libtool support.
|
# libtool support.
|
||||||
[case "$host" in
|
case "$host" in
|
||||||
*-*-irix6*)
|
*-*-irix6*)
|
||||||
for f in '-32' '-64' '-cckr' '-n32' '-mips1' '-mips2' '-mips3' '-mips4'; do
|
# Find out which ABI we are using.
|
||||||
if echo " $CC $CFLAGS " | egrep -e "[ ]$f[ ]" > /dev/null; then
|
echo '[#]line __oline__ "configure"' > conftest.$ac_ext
|
||||||
LD="${LD-ld} $f"
|
if AC_TRY_EVAL(ac_compile); then
|
||||||
|
case "`/usr/bin/file conftest.o`" in
|
||||||
|
*32-bit*)
|
||||||
|
LD="${LD-ld} -32"
|
||||||
|
;;
|
||||||
|
*N32*)
|
||||||
|
LD="${LD-ld} -n32"
|
||||||
|
;;
|
||||||
|
*64-bit*)
|
||||||
|
LD="${LD-ld} -64"
|
||||||
|
;;
|
||||||
|
esac
|
||||||
fi
|
fi
|
||||||
done
|
rm -rf conftest*
|
||||||
;;
|
;;
|
||||||
|
|
||||||
*-*-sco3.2v5*)
|
*-*-sco3.2v5*)
|
||||||
# On SCO OpenServer 5, we need -belf to get full-featured binaries.
|
# On SCO OpenServer 5, we need -belf to get full-featured binaries.
|
||||||
CFLAGS="$CFLAGS -belf"
|
CFLAGS="$CFLAGS -belf"
|
||||||
;;
|
;;
|
||||||
esac]
|
esac
|
||||||
|
|
||||||
# Actually configure libtool. ac_aux_dir is where install-sh is found.
|
# Actually configure libtool. ac_aux_dir is where install-sh is found.
|
||||||
CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \
|
CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \
|
||||||
LD="$LD" RANLIB="$RANLIB" LN_S="$LN_S" \
|
LD="$LD" NM="$NM" RANLIB="$RANLIB" LN_S="$LN_S" \
|
||||||
${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig \
|
${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig \
|
||||||
$libtool_flags --no-verify $ac_aux_dir/ltmain.sh $host \
|
$libtool_flags --no-verify $ac_aux_dir/ltmain.sh $host \
|
||||||
|| AC_MSG_ERROR([libtool configure failed])
|
|| AC_MSG_ERROR([libtool configure failed])
|
||||||
])
|
])
|
||||||
|
|
||||||
|
# AM_ENABLE_SHARED - implement the --enable-shared flag
|
||||||
|
# Usage: AM_ENABLE_SHARED[(DEFAULT)]
|
||||||
|
# Where DEFAULT is either `yes' or `no'. If omitted, it defaults to
|
||||||
|
# `yes'.
|
||||||
|
AC_DEFUN(AM_ENABLE_SHARED,
|
||||||
|
[define([AM_ENABLE_SHARED_DEFAULT], ifelse($1, no, no, yes))dnl
|
||||||
|
AC_ARG_ENABLE(shared,
|
||||||
|
changequote(<<, >>)dnl
|
||||||
|
<< --enable-shared build shared libraries [default=>>AM_ENABLE_SHARED_DEFAULT]
|
||||||
|
changequote([, ])dnl
|
||||||
|
[ --enable-shared=PKGS only build shared libraries if the current package
|
||||||
|
appears as an element in the PKGS list],
|
||||||
|
[p=${PACKAGE-default}
|
||||||
|
case "$enableval" in
|
||||||
|
yes) enable_shared=yes ;;
|
||||||
|
no) enable_shared=no ;;
|
||||||
|
*)
|
||||||
|
enable_shared=no
|
||||||
|
# Look at the argument we got. We use all the common list separators.
|
||||||
|
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
|
||||||
|
for pkg in $enableval; do
|
||||||
|
if test "X$pkg" = "X$p"; then
|
||||||
|
enable_shared=yes
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
IFS="$ac_save_ifs"
|
||||||
|
;;
|
||||||
|
esac],
|
||||||
|
enable_shared=AM_ENABLE_SHARED_DEFAULT)dnl
|
||||||
|
])
|
||||||
|
|
||||||
|
# AM_DISABLE_SHARED - set the default shared flag to --disable-shared
|
||||||
|
AC_DEFUN(AM_DISABLE_SHARED,
|
||||||
|
[AM_ENABLE_SHARED(no)])
|
||||||
|
|
||||||
|
# AM_DISABLE_STATIC - set the default static flag to --disable-static
|
||||||
|
AC_DEFUN(AM_DISABLE_STATIC,
|
||||||
|
[AM_ENABLE_STATIC(no)])
|
||||||
|
|
||||||
|
# AM_ENABLE_STATIC - implement the --enable-static flag
|
||||||
|
# Usage: AM_ENABLE_STATIC[(DEFAULT)]
|
||||||
|
# Where DEFAULT is either `yes' or `no'. If omitted, it defaults to
|
||||||
|
# `yes'.
|
||||||
|
AC_DEFUN(AM_ENABLE_STATIC,
|
||||||
|
[define([AM_ENABLE_STATIC_DEFAULT], ifelse($1, no, no, yes))dnl
|
||||||
|
AC_ARG_ENABLE(static,
|
||||||
|
changequote(<<, >>)dnl
|
||||||
|
<< --enable-static build static libraries [default=>>AM_ENABLE_STATIC_DEFAULT]
|
||||||
|
changequote([, ])dnl
|
||||||
|
[ --enable-static=PKGS only build shared libraries if the current package
|
||||||
|
appears as an element in the PKGS list],
|
||||||
|
[p=${PACKAGE-default}
|
||||||
|
case "$enableval" in
|
||||||
|
yes) enable_static=yes ;;
|
||||||
|
no) enable_static=no ;;
|
||||||
|
*)
|
||||||
|
enable_static=no
|
||||||
|
# Look at the argument we got. We use all the common list separators.
|
||||||
|
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
|
||||||
|
for pkg in $enableval; do
|
||||||
|
if test "X$pkg" = "X$p"; then
|
||||||
|
enable_static=yes
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
IFS="$ac_save_ifs"
|
||||||
|
;;
|
||||||
|
esac],
|
||||||
|
enable_static=AM_ENABLE_STATIC_DEFAULT)dnl
|
||||||
|
])
|
||||||
|
|
||||||
|
|
||||||
# AM_PROG_LD - find the path to the GNU or non-GNU linker
|
# AM_PROG_LD - find the path to the GNU or non-GNU linker
|
||||||
AC_DEFUN(AM_PROG_LD,
|
AC_DEFUN(AM_PROG_LD,
|
||||||
[AC_ARG_WITH(gnu-ld,
|
[AC_ARG_WITH(gnu-ld,
|
||||||
[ --with-gnu-ld assume the C compiler uses GNU ld [default=no]],
|
[ --with-gnu-ld assume the C compiler uses GNU ld [default=no]],
|
||||||
test "$withval" = no || with_gnu_ld=yes, with_gnu_ld=no)
|
test "$withval" = no || with_gnu_ld=yes, with_gnu_ld=no)
|
||||||
if test "$with_gnu_ld" = yes; then
|
AC_REQUIRE([AC_PROG_CC])
|
||||||
|
ac_prog=ld
|
||||||
|
if test "$ac_cv_prog_gcc" = yes; then
|
||||||
|
# Check if gcc -print-prog-name=ld gives a path.
|
||||||
|
AC_MSG_CHECKING([for ld used by GCC])
|
||||||
|
ac_prog=`($CC -print-prog-name=ld) 2>&5`
|
||||||
|
case "$ac_prog" in
|
||||||
|
# Accept absolute paths.
|
||||||
|
/* | [A-Za-z]:\\*)
|
||||||
|
test -z "$LD" && LD="$ac_prog"
|
||||||
|
;;
|
||||||
|
"")
|
||||||
|
# If it fails, then pretend we aren't using GCC.
|
||||||
|
ac_prog=ld
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
# If it is relative, then search for the first ld in PATH.
|
||||||
|
with_gnu_ld=unknown
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
elif test "$with_gnu_ld" = yes; then
|
||||||
AC_MSG_CHECKING([for GNU ld])
|
AC_MSG_CHECKING([for GNU ld])
|
||||||
else
|
else
|
||||||
AC_MSG_CHECKING([for non-GNU ld])
|
AC_MSG_CHECKING([for non-GNU ld])
|
||||||
fi
|
fi
|
||||||
AC_CACHE_VAL(ac_cv_path_LD,
|
AC_CACHE_VAL(ac_cv_path_LD,
|
||||||
[case "$LD" in
|
[if test -z "$LD"; then
|
||||||
/*)
|
|
||||||
ac_cv_path_LD="$LD" # Let the user override the test with a path.
|
|
||||||
;;
|
|
||||||
*)
|
|
||||||
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
|
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
|
||||||
for ac_dir in $PATH; do
|
for ac_dir in $PATH; do
|
||||||
test -z "$ac_dir" && ac_dir=.
|
test -z "$ac_dir" && ac_dir=.
|
||||||
if test -f "$ac_dir/ld"; then
|
if test -f "$ac_dir/$ac_prog"; then
|
||||||
ac_cv_path_LD="$ac_dir/ld"
|
ac_cv_path_LD="$ac_dir/$ac_prog"
|
||||||
# Check to see if the program is GNU ld. I'd rather use --version,
|
# Check to see if the program is GNU ld. I'd rather use --version,
|
||||||
# but apparently some GNU ld's only accept -v.
|
# but apparently some GNU ld's only accept -v.
|
||||||
# Break only if it was the GNU/non-GNU ld that we prefer.
|
# Break only if it was the GNU/non-GNU ld that we prefer.
|
||||||
if "$ac_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU ld|with BFD)' > /dev/null; then
|
if "$ac_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
|
||||||
test "$with_gnu_ld" = yes && break
|
test "$with_gnu_ld" != no && break
|
||||||
else
|
else
|
||||||
test "$with_gnu_ld" != yes && break
|
test "$with_gnu_ld" != yes && break
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
IFS="$ac_save_ifs"
|
IFS="$ac_save_ifs"
|
||||||
;;
|
else
|
||||||
esac])
|
ac_cv_path_LD="$LD" # Let the user override the test with a path.
|
||||||
|
fi])
|
||||||
LD="$ac_cv_path_LD"
|
LD="$ac_cv_path_LD"
|
||||||
if test -n "$LD"; then
|
if test -n "$LD"; then
|
||||||
AC_MSG_RESULT($LD)
|
AC_MSG_RESULT($LD)
|
||||||
@@ -212,15 +305,50 @@ AM_PROG_LD_GNU
|
|||||||
])
|
])
|
||||||
|
|
||||||
AC_DEFUN(AM_PROG_LD_GNU,
|
AC_DEFUN(AM_PROG_LD_GNU,
|
||||||
[AC_CACHE_CHECK([whether we are using GNU ld], ac_cv_prog_gnu_ld,
|
[AC_CACHE_CHECK([if the linker ($LD) is GNU ld], ac_cv_prog_gnu_ld,
|
||||||
[# I'd rather use --version here, but apparently some GNU ld's only accept -v.
|
[# I'd rather use --version here, but apparently some GNU ld's only accept -v.
|
||||||
if $LD -v 2>&1 </dev/null | egrep '(GNU ld|with BFD)' > /dev/null; then
|
if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
|
||||||
ac_cv_prog_gnu_ld=yes
|
ac_cv_prog_gnu_ld=yes
|
||||||
else
|
else
|
||||||
ac_cv_prog_gnu_ld=no
|
ac_cv_prog_gnu_ld=no
|
||||||
fi])
|
fi])
|
||||||
])
|
])
|
||||||
|
|
||||||
|
# AM_PROG_NM - find the path to a BSD-compatible name lister
|
||||||
|
AC_DEFUN(AM_PROG_NM,
|
||||||
|
[AC_MSG_CHECKING([for BSD-compatible nm])
|
||||||
|
AC_CACHE_VAL(ac_cv_path_NM,
|
||||||
|
[case "$NM" in
|
||||||
|
/* | [A-Za-z]:\\*)
|
||||||
|
ac_cv_path_NM="$NM" # Let the user override the test with a path.
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
|
||||||
|
for ac_dir in /usr/ucb /usr/ccs/bin $PATH /bin; do
|
||||||
|
test -z "$ac_dir" && ac_dir=.
|
||||||
|
if test -f $ac_dir/nm; then
|
||||||
|
# Check to see if the nm accepts a BSD-compat flag.
|
||||||
|
# Adding the `sed 1q' prevents false positives on HP-UX, which says:
|
||||||
|
# nm: unknown option "B" ignored
|
||||||
|
if ($ac_dir/nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
|
||||||
|
ac_cv_path_NM="$ac_dir/nm -B"
|
||||||
|
elif ($ac_dir/nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
|
||||||
|
ac_cv_path_NM="$ac_dir/nm -p"
|
||||||
|
else
|
||||||
|
ac_cv_path_NM="$ac_dir/nm"
|
||||||
|
fi
|
||||||
|
break
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
IFS="$ac_save_ifs"
|
||||||
|
test -z "$ac_cv_path_NM" && ac_cv_path_NM=nm
|
||||||
|
;;
|
||||||
|
esac])
|
||||||
|
NM="$ac_cv_path_NM"
|
||||||
|
AC_MSG_RESULT([$NM])
|
||||||
|
AC_SUBST(NM)
|
||||||
|
])
|
||||||
|
|
||||||
# Like AC_CONFIG_HEADER, but automatically create stamp file.
|
# Like AC_CONFIG_HEADER, but automatically create stamp file.
|
||||||
|
|
||||||
AC_DEFUN(AM_CONFIG_HEADER,
|
AC_DEFUN(AM_CONFIG_HEADER,
|
||||||
|
|||||||
189
config.guess
vendored
189
config.guess
vendored
@@ -52,11 +52,53 @@ trap 'rm -f dummy.c dummy.o dummy; exit 1' 1 2 15
|
|||||||
|
|
||||||
case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
|
case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
|
||||||
alpha:OSF1:*:*)
|
alpha:OSF1:*:*)
|
||||||
|
if test $UNAME_RELEASE = "V4.0"; then
|
||||||
|
UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $3}'`
|
||||||
|
fi
|
||||||
# A Vn.n version is a released version.
|
# A Vn.n version is a released version.
|
||||||
# A Tn.n version is a released field test version.
|
# A Tn.n version is a released field test version.
|
||||||
# A Xn.n version is an unreleased experimental baselevel.
|
# A Xn.n version is an unreleased experimental baselevel.
|
||||||
# 1.2 uses "1.2" for uname -r.
|
# 1.2 uses "1.2" for uname -r.
|
||||||
echo alpha-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[VTX]//'`
|
cat <<EOF >dummy.s
|
||||||
|
.globl main
|
||||||
|
.ent main
|
||||||
|
main:
|
||||||
|
.frame \$30,0,\$26,0
|
||||||
|
.prologue 0
|
||||||
|
.long 0x47e03d80 # implver $0
|
||||||
|
lda \$2,259
|
||||||
|
.long 0x47e20c21 # amask $2,$1
|
||||||
|
srl \$1,8,\$2
|
||||||
|
sll \$2,2,\$2
|
||||||
|
sll \$0,3,\$0
|
||||||
|
addl \$1,\$0,\$0
|
||||||
|
addl \$2,\$0,\$0
|
||||||
|
ret \$31,(\$26),1
|
||||||
|
.end main
|
||||||
|
EOF
|
||||||
|
${CC-cc} dummy.s -o dummy 2>/dev/null
|
||||||
|
if test "$?" = 0 ; then
|
||||||
|
./dummy
|
||||||
|
case "$?" in
|
||||||
|
7)
|
||||||
|
UNAME_MACHINE="alpha"
|
||||||
|
;;
|
||||||
|
15)
|
||||||
|
UNAME_MACHINE="alphaev5"
|
||||||
|
;;
|
||||||
|
14)
|
||||||
|
UNAME_MACHINE="alphaev56"
|
||||||
|
;;
|
||||||
|
10)
|
||||||
|
UNAME_MACHINE="alphapca56"
|
||||||
|
;;
|
||||||
|
16)
|
||||||
|
UNAME_MACHINE="alphaev6"
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
fi
|
||||||
|
rm -f dummy.s dummy
|
||||||
|
echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[VTX]//' | tr [[A-Z]] [[a-z]]`
|
||||||
exit 0 ;;
|
exit 0 ;;
|
||||||
21064:Windows_NT:50:3)
|
21064:Windows_NT:50:3)
|
||||||
echo alpha-dec-winnt3.5
|
echo alpha-dec-winnt3.5
|
||||||
@@ -91,6 +133,9 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
|
|||||||
arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*)
|
arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*)
|
||||||
echo arm-acorn-riscix${UNAME_RELEASE}
|
echo arm-acorn-riscix${UNAME_RELEASE}
|
||||||
exit 0;;
|
exit 0;;
|
||||||
|
arm32:NetBSD:*:*)
|
||||||
|
echo arm-unknown-netbsd`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'`
|
||||||
|
exit 0 ;;
|
||||||
SR2?01:HI-UX/MPP:*:*)
|
SR2?01:HI-UX/MPP:*:*)
|
||||||
echo hppa1.1-hitachi-hiuxmpp
|
echo hppa1.1-hitachi-hiuxmpp
|
||||||
exit 0;;
|
exit 0;;
|
||||||
@@ -129,6 +174,18 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
|
|||||||
sun3*:SunOS:*:*)
|
sun3*:SunOS:*:*)
|
||||||
echo m68k-sun-sunos${UNAME_RELEASE}
|
echo m68k-sun-sunos${UNAME_RELEASE}
|
||||||
exit 0 ;;
|
exit 0 ;;
|
||||||
|
sun*:*:4.2BSD:*)
|
||||||
|
UNAME_RELEASE=`(head -1 /etc/motd | awk '{print substr($5,1,3)}') 2>/dev/null`
|
||||||
|
test "x${UNAME_RELEASE}" = "x" && UNAME_RELEASE=3
|
||||||
|
case "`/bin/arch`" in
|
||||||
|
sun3)
|
||||||
|
echo m68k-sun-sunos${UNAME_RELEASE}
|
||||||
|
;;
|
||||||
|
sun4)
|
||||||
|
echo sparc-sun-sunos${UNAME_RELEASE}
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
exit 0 ;;
|
||||||
aushp:SunOS:*:*)
|
aushp:SunOS:*:*)
|
||||||
echo sparc-auspex-sunos${UNAME_RELEASE}
|
echo sparc-auspex-sunos${UNAME_RELEASE}
|
||||||
exit 0 ;;
|
exit 0 ;;
|
||||||
@@ -423,6 +480,9 @@ EOF
|
|||||||
i*:CYGWIN*:*)
|
i*:CYGWIN*:*)
|
||||||
echo i386-pc-cygwin32
|
echo i386-pc-cygwin32
|
||||||
exit 0 ;;
|
exit 0 ;;
|
||||||
|
i*:MINGW*:*)
|
||||||
|
echo i386-pc-mingw32
|
||||||
|
exit 0 ;;
|
||||||
p*:CYGWIN*:*)
|
p*:CYGWIN*:*)
|
||||||
echo powerpcle-unknown-cygwin32
|
echo powerpcle-unknown-cygwin32
|
||||||
exit 0 ;;
|
exit 0 ;;
|
||||||
@@ -436,22 +496,68 @@ EOF
|
|||||||
# The BFD linker knows what the default object file format is, so
|
# The BFD linker knows what the default object file format is, so
|
||||||
# first see if it will tell us.
|
# first see if it will tell us.
|
||||||
ld_help_string=`ld --help 2>&1`
|
ld_help_string=`ld --help 2>&1`
|
||||||
if echo "$ld_help_string" | grep >/dev/null 2>&1 "supported emulations: elf_i.86"; then
|
ld_supported_emulations=`echo $ld_help_string \
|
||||||
echo "${UNAME_MACHINE}-pc-linux-gnu" ; exit 0
|
| sed -ne '/supported emulations:/!d
|
||||||
elif echo "$ld_help_string" | grep >/dev/null 2>&1 "supported emulations: i.86linux"; then
|
s/[ ][ ]*/ /g
|
||||||
echo "${UNAME_MACHINE}-pc-linux-gnuaout" ; exit 0
|
s/.*supported emulations: *//
|
||||||
elif echo "$ld_help_string" | grep >/dev/null 2>&1 "supported emulations: i.86coff"; then
|
s/ .*//
|
||||||
echo "${UNAME_MACHINE}-pc-linux-gnucoff" ; exit 0
|
p'`
|
||||||
elif echo "$ld_help_string" | grep >/dev/null 2>&1 "supported emulations: m68kelf"; then
|
case "$ld_supported_emulations" in
|
||||||
echo "${UNAME_MACHINE}-unknown-linux-gnu" ; exit 0
|
i?86linux) echo "${UNAME_MACHINE}-pc-linux-gnuaout" ; exit 0 ;;
|
||||||
elif echo "$ld_help_string" | grep >/dev/null 2>&1 "supported emulations: m68klinux"; then
|
i?86coff) echo "${UNAME_MACHINE}-pc-linux-gnucoff" ; exit 0 ;;
|
||||||
echo "${UNAME_MACHINE}-unknown-linux-gnuaout" ; exit 0
|
sparclinux) echo "${UNAME_MACHINE}-unknown-linux-gnuaout" ; exit 0 ;;
|
||||||
elif echo "$ld_help_string" | grep >/dev/null 2>&1 "supported emulations: elf32ppc"; then
|
m68klinux) echo "${UNAME_MACHINE}-unknown-linux-gnuaout" ; exit 0 ;;
|
||||||
echo "powerpc-unknown-linux-gnu" ; exit 0
|
elf32ppc) echo "powerpc-unknown-linux-gnu" ; exit 0 ;;
|
||||||
elif test "${UNAME_MACHINE}" = "alpha" ; then
|
esac
|
||||||
echo alpha-unknown-linux-gnu ; exit 0
|
|
||||||
elif test "${UNAME_MACHINE}" = "sparc" ; then
|
if test "${UNAME_MACHINE}" = "alpha" ; then
|
||||||
echo sparc-unknown-linux-gnu ; exit 0
|
sed 's/^ //' <<EOF >dummy.s
|
||||||
|
.globl main
|
||||||
|
.ent main
|
||||||
|
main:
|
||||||
|
.frame \$30,0,\$26,0
|
||||||
|
.prologue 0
|
||||||
|
.long 0x47e03d80 # implver $0
|
||||||
|
lda \$2,259
|
||||||
|
.long 0x47e20c21 # amask $2,$1
|
||||||
|
srl \$1,8,\$2
|
||||||
|
sll \$2,2,\$2
|
||||||
|
sll \$0,3,\$0
|
||||||
|
addl \$1,\$0,\$0
|
||||||
|
addl \$2,\$0,\$0
|
||||||
|
ret \$31,(\$26),1
|
||||||
|
.end main
|
||||||
|
EOF
|
||||||
|
LIBC=""
|
||||||
|
${CC-cc} dummy.s -o dummy 2>/dev/null
|
||||||
|
if test "$?" = 0 ; then
|
||||||
|
./dummy
|
||||||
|
case "$?" in
|
||||||
|
7)
|
||||||
|
UNAME_MACHINE="alpha"
|
||||||
|
;;
|
||||||
|
15)
|
||||||
|
UNAME_MACHINE="alphaev5"
|
||||||
|
;;
|
||||||
|
14)
|
||||||
|
UNAME_MACHINE="alphaev56"
|
||||||
|
;;
|
||||||
|
10)
|
||||||
|
UNAME_MACHINE="alphapca56"
|
||||||
|
;;
|
||||||
|
16)
|
||||||
|
UNAME_MACHINE="alphaev6"
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
|
||||||
|
objdump --private-headers dummy | \
|
||||||
|
grep ld.so.1 > /dev/null
|
||||||
|
if test "$?" = 0 ; then
|
||||||
|
LIBC="libc1"
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
rm -f dummy.s dummy
|
||||||
|
echo ${UNAME_MACHINE}-unknown-linux-gnu${LIBC} ; exit 0
|
||||||
elif test "${UNAME_MACHINE}" = "mips" ; then
|
elif test "${UNAME_MACHINE}" = "mips" ; then
|
||||||
cat >dummy.c <<EOF
|
cat >dummy.c <<EOF
|
||||||
main(argc, argv)
|
main(argc, argv)
|
||||||
@@ -470,20 +576,41 @@ EOF
|
|||||||
${CC-cc} dummy.c -o dummy 2>/dev/null && ./dummy "${UNAME_MACHINE}" && rm dummy.c dummy && exit 0
|
${CC-cc} dummy.c -o dummy 2>/dev/null && ./dummy "${UNAME_MACHINE}" && rm dummy.c dummy && exit 0
|
||||||
rm -f dummy.c dummy
|
rm -f dummy.c dummy
|
||||||
else
|
else
|
||||||
# Either a pre-BFD a.out linker (linux-gnuoldld) or one that does not give us
|
# Either a pre-BFD a.out linker (linux-gnuoldld)
|
||||||
# useful --help. Gcc wants to distinguish between linux-gnuoldld and linux-gnuaout.
|
# or one that does not give us useful --help.
|
||||||
test ! -d /usr/lib/ldscripts/. \
|
# GCC wants to distinguish between linux-gnuoldld and linux-gnuaout.
|
||||||
&& echo "${UNAME_MACHINE}-pc-linux-gnuoldld" && exit 0
|
# If ld does not provide *any* "supported emulations:"
|
||||||
|
# that means it is gnuoldld.
|
||||||
|
echo "$ld_help_string" | grep >/dev/null 2>&1 "supported emulations:"
|
||||||
|
test $? != 0 && echo "${UNAME_MACHINE}-pc-linux-gnuoldld" && exit 0
|
||||||
|
|
||||||
|
case "${UNAME_MACHINE}" in
|
||||||
|
i?86)
|
||||||
|
VENDOR=pc;
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
VENDOR=unknown;
|
||||||
|
;;
|
||||||
|
esac
|
||||||
# Determine whether the default compiler is a.out or elf
|
# Determine whether the default compiler is a.out or elf
|
||||||
cat >dummy.c <<EOF
|
cat >dummy.c <<EOF
|
||||||
|
#include <features.h>
|
||||||
main(argc, argv)
|
main(argc, argv)
|
||||||
int argc;
|
int argc;
|
||||||
char *argv[];
|
char *argv[];
|
||||||
{
|
{
|
||||||
#ifdef __ELF__
|
#ifdef __ELF__
|
||||||
printf ("%s-pc-linux-gnu\n", argv[1]);
|
# ifdef __GLIBC__
|
||||||
|
# if __GLIBC__ >= 2
|
||||||
|
printf ("%s-${VENDOR}-linux-gnu\n", argv[1]);
|
||||||
# else
|
# else
|
||||||
printf ("%s-pc-linux-gnuaout\n", argv[1]);
|
printf ("%s-${VENDOR}-linux-gnulibc1\n", argv[1]);
|
||||||
|
# endif
|
||||||
|
# else
|
||||||
|
printf ("%s-${VENDOR}-linux-gnulibc1\n", argv[1]);
|
||||||
|
# endif
|
||||||
|
#else
|
||||||
|
printf ("%s-${VENDOR}-linux-gnuaout\n", argv[1]);
|
||||||
#endif
|
#endif
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
@@ -496,6 +623,14 @@ EOF
|
|||||||
i?86:DYNIX/ptx:4*:*)
|
i?86:DYNIX/ptx:4*:*)
|
||||||
echo i386-sequent-sysv4
|
echo i386-sequent-sysv4
|
||||||
exit 0 ;;
|
exit 0 ;;
|
||||||
|
i?86:UNIX_SV:4.2MP:2.*)
|
||||||
|
# Unixware is an offshoot of SVR4, but it has its own version
|
||||||
|
# number series starting with 2...
|
||||||
|
# I am not positive that other SVR4 systems won't match this,
|
||||||
|
# I just have to hope. -- rms.
|
||||||
|
# Use sysv4.2uw... so that sysv4* matches it.
|
||||||
|
echo ${UNAME_MACHINE}-pc-sysv4.2uw${UNAME_VERSION}
|
||||||
|
exit 0 ;;
|
||||||
i?86:*:4.*:* | i?86:SYSTEM_V:4.*:*)
|
i?86:*:4.*:* | i?86:SYSTEM_V:4.*:*)
|
||||||
if grep Novell /usr/include/link.h >/dev/null 2>/dev/null; then
|
if grep Novell /usr/include/link.h >/dev/null 2>/dev/null; then
|
||||||
echo ${UNAME_MACHINE}-univel-sysv${UNAME_RELEASE}
|
echo ${UNAME_MACHINE}-univel-sysv${UNAME_RELEASE}
|
||||||
@@ -517,6 +652,11 @@ EOF
|
|||||||
echo ${UNAME_MACHINE}-pc-sysv32
|
echo ${UNAME_MACHINE}-pc-sysv32
|
||||||
fi
|
fi
|
||||||
exit 0 ;;
|
exit 0 ;;
|
||||||
|
pc:*:*:*)
|
||||||
|
# uname -m prints for DJGPP always 'pc', but it prints nothing about
|
||||||
|
# the processor, so we play safe by assuming i386.
|
||||||
|
echo i386-pc-msdosdjgpp
|
||||||
|
exit 0 ;;
|
||||||
Intel:Mach:3*:*)
|
Intel:Mach:3*:*)
|
||||||
echo i386-pc-mach3
|
echo i386-pc-mach3
|
||||||
exit 0 ;;
|
exit 0 ;;
|
||||||
@@ -592,6 +732,9 @@ EOF
|
|||||||
mc68*:A/UX:*:*)
|
mc68*:A/UX:*:*)
|
||||||
echo m68k-apple-aux${UNAME_RELEASE}
|
echo m68k-apple-aux${UNAME_RELEASE}
|
||||||
exit 0 ;;
|
exit 0 ;;
|
||||||
|
news*:NEWS-OS:*:6*)
|
||||||
|
echo mips-sony-newsos6
|
||||||
|
exit 0 ;;
|
||||||
R3000:*System_V*:*:* | R4000:UNIX_SYSV:*:*)
|
R3000:*System_V*:*:* | R4000:UNIX_SYSV:*:*)
|
||||||
if [ -d /usr/nec ]; then
|
if [ -d /usr/nec ]; then
|
||||||
echo mips-nec-sysv${UNAME_RELEASE}
|
echo mips-nec-sysv${UNAME_RELEASE}
|
||||||
|
|||||||
61
config.sub
vendored
61
config.sub
vendored
@@ -1,6 +1,6 @@
|
|||||||
#! /bin/sh
|
#! /bin/sh
|
||||||
# Configuration validation subroutine script, version 1.1.
|
# Configuration validation subroutine script, version 1.1.
|
||||||
# Copyright (C) 1991, 92, 93, 94, 95, 1996 Free Software Foundation, Inc.
|
# Copyright (C) 1991, 92, 93, 94, 95, 96, 1997 Free Software Foundation, Inc.
|
||||||
# This file is (in principle) common to ALL GNU software.
|
# This file is (in principle) common to ALL GNU software.
|
||||||
# The presence of a machine in this file suggests that SOME GNU software
|
# The presence of a machine in this file suggests that SOME GNU software
|
||||||
# can handle that machine. It does not imply ALL GNU software can.
|
# can handle that machine. It does not imply ALL GNU software can.
|
||||||
@@ -149,13 +149,14 @@ esac
|
|||||||
case $basic_machine in
|
case $basic_machine in
|
||||||
# Recognize the basic CPU types without company name.
|
# Recognize the basic CPU types without company name.
|
||||||
# Some are omitted here because they have special meanings below.
|
# Some are omitted here because they have special meanings below.
|
||||||
tahoe | i860 | m32r | m68k | m68000 | m88k | ns32k | arm \
|
tahoe | i860 | m32r | m68k | m68000 | m88k | ns32k | arc | arm \
|
||||||
| arme[lb] | pyramid | mn10300 \
|
| arme[lb] | pyramid | mn10200 | mn10300 \
|
||||||
| tron | a29k | 580 | i960 | h8300 | hppa | hppa1.0 | hppa1.1 \
|
| tron | a29k | 580 | i960 | h8300 | hppa | hppa1.0 | hppa1.1 \
|
||||||
| alpha | we32k | ns16k | clipper | i370 | sh \
|
| alpha | alphaev5 | alphaev56 | we32k | ns16k | clipper \
|
||||||
| powerpc | powerpcle | 1750a | dsp16xx | mips64 | mipsel \
|
| i370 | sh | powerpc | powerpcle | 1750a | dsp16xx | pdp11 \
|
||||||
| pdp11 | mips64el | mips64orion | mips64orionel \
|
| mips64 | mipsel | mips64el | mips64orion | mips64orionel \
|
||||||
| sparc | sparclet | sparclite | sparc64)
|
| mipstx39 | mipstx39el \
|
||||||
|
| sparc | sparclet | sparclite | sparc64 | v850)
|
||||||
basic_machine=$basic_machine-unknown
|
basic_machine=$basic_machine-unknown
|
||||||
;;
|
;;
|
||||||
# We use `pc' rather than `unknown'
|
# We use `pc' rather than `unknown'
|
||||||
@@ -171,13 +172,17 @@ case $basic_machine in
|
|||||||
;;
|
;;
|
||||||
# Recognize the basic CPU types with company name.
|
# Recognize the basic CPU types with company name.
|
||||||
vax-* | tahoe-* | i[3456]86-* | i860-* | m32r-* | m68k-* | m68000-* \
|
vax-* | tahoe-* | i[3456]86-* | i860-* | m32r-* | m68k-* | m68000-* \
|
||||||
| m88k-* | sparc-* | ns32k-* | fx80-* | arm-* | c[123]* \
|
| m88k-* | sparc-* | ns32k-* | fx80-* | arc-* | arm-* | c[123]* \
|
||||||
| mips-* | pyramid-* | tron-* | a29k-* | romp-* | rs6000-* | power-* \
|
| mips-* | pyramid-* | tron-* | a29k-* | romp-* | rs6000-* \
|
||||||
| none-* | 580-* | cray2-* | h8300-* | i960-* | xmp-* | ymp-* \
|
| power-* | none-* | 580-* | cray2-* | h8300-* | i960-* \
|
||||||
| hppa-* | hppa1.0-* | hppa1.1-* | alpha-* | we32k-* | cydra-* | ns16k-* \
|
| xmp-* | ymp-* | hppa-* | hppa1.0-* | hppa1.1-* \
|
||||||
| pn-* | np1-* | xps100-* | clipper-* | orion-* | sparclite-* \
|
| alpha-* | alphaev5-* | alphaev56-* | we32k-* | cydra-* \
|
||||||
| pdp11-* | sh-* | powerpc-* | powerpcle-* | sparc64-* | mips64-* | mipsel-* \
|
| ns16k-* | pn-* | np1-* | xps100-* | clipper-* | orion-* \
|
||||||
| mips64el-* | mips64orion-* | mips64orionel-* | f301-*)
|
| sparclite-* | pdp11-* | sh-* | powerpc-* | powerpcle-* \
|
||||||
|
| sparc64-* | mips64-* | mipsel-* \
|
||||||
|
| mips64el-* | mips64orion-* | mips64orionel-* \
|
||||||
|
| mipstx39-* | mipstx39el-* \
|
||||||
|
| f301-*)
|
||||||
;;
|
;;
|
||||||
# Recognize the various machine names and aliases which stand
|
# Recognize the various machine names and aliases which stand
|
||||||
# for a CPU type and a company and sometimes even an OS.
|
# for a CPU type and a company and sometimes even an OS.
|
||||||
@@ -204,9 +209,9 @@ case $basic_machine in
|
|||||||
amiga | amiga-*)
|
amiga | amiga-*)
|
||||||
basic_machine=m68k-cbm
|
basic_machine=m68k-cbm
|
||||||
;;
|
;;
|
||||||
amigados)
|
amigaos | amigados)
|
||||||
basic_machine=m68k-cbm
|
basic_machine=m68k-cbm
|
||||||
os=-amigados
|
os=-amigaos
|
||||||
;;
|
;;
|
||||||
amigaunix | amix)
|
amigaunix | amix)
|
||||||
basic_machine=m68k-cbm
|
basic_machine=m68k-cbm
|
||||||
@@ -391,11 +396,11 @@ case $basic_machine in
|
|||||||
;;
|
;;
|
||||||
mipsel*-linux*)
|
mipsel*-linux*)
|
||||||
basic_machine=mipsel-unknown
|
basic_machine=mipsel-unknown
|
||||||
os=-linux
|
os=-linux-gnu
|
||||||
;;
|
;;
|
||||||
mips*-linux*)
|
mips*-linux*)
|
||||||
basic_machine=mips-unknown
|
basic_machine=mips-unknown
|
||||||
os=-linux
|
os=-linux-gnu
|
||||||
;;
|
;;
|
||||||
mips3*-*)
|
mips3*-*)
|
||||||
basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`
|
basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`
|
||||||
@@ -566,6 +571,12 @@ case $basic_machine in
|
|||||||
basic_machine=i386-sequent
|
basic_machine=i386-sequent
|
||||||
os=-dynix
|
os=-dynix
|
||||||
;;
|
;;
|
||||||
|
tx39)
|
||||||
|
basic_machine=mipstx39-unknown
|
||||||
|
;;
|
||||||
|
tx39el)
|
||||||
|
basic_machine=mipstx39el-unknown
|
||||||
|
;;
|
||||||
tower | tower-32)
|
tower | tower-32)
|
||||||
basic_machine=m68k-ncr
|
basic_machine=m68k-ncr
|
||||||
;;
|
;;
|
||||||
@@ -615,7 +626,7 @@ case $basic_machine in
|
|||||||
# Here we handle the default manufacturer of certain CPU types. It is in
|
# Here we handle the default manufacturer of certain CPU types. It is in
|
||||||
# some cases the only manufacturer, in others, it is the most popular.
|
# some cases the only manufacturer, in others, it is the most popular.
|
||||||
mips)
|
mips)
|
||||||
if [ x$os = x-linux ]; then
|
if [ x$os = x-linux-gnu ]; then
|
||||||
basic_machine=mips-unknown
|
basic_machine=mips-unknown
|
||||||
else
|
else
|
||||||
basic_machine=mips-mips
|
basic_machine=mips-mips
|
||||||
@@ -680,9 +691,12 @@ case $os in
|
|||||||
-solaris)
|
-solaris)
|
||||||
os=-solaris2
|
os=-solaris2
|
||||||
;;
|
;;
|
||||||
-unixware* | svr4*)
|
-svr4*)
|
||||||
os=-sysv4
|
os=-sysv4
|
||||||
;;
|
;;
|
||||||
|
-unixware*)
|
||||||
|
os=-sysv4.2uw
|
||||||
|
;;
|
||||||
-gnu/linux*)
|
-gnu/linux*)
|
||||||
os=`echo $os | sed -e 's|gnu/linux|linux-gnu|'`
|
os=`echo $os | sed -e 's|gnu/linux|linux-gnu|'`
|
||||||
;;
|
;;
|
||||||
@@ -693,7 +707,8 @@ case $os in
|
|||||||
-gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \
|
-gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \
|
||||||
| -*vms* | -sco* | -esix* | -isc* | -aix* | -sunos | -sunos[34]*\
|
| -*vms* | -sco* | -esix* | -isc* | -aix* | -sunos | -sunos[34]*\
|
||||||
| -hpux* | -unos* | -osf* | -luna* | -dgux* | -solaris* | -sym* \
|
| -hpux* | -unos* | -osf* | -luna* | -dgux* | -solaris* | -sym* \
|
||||||
| -amigados* | -msdos* | -newsos* | -unicos* | -aof* | -aos* \
|
| -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \
|
||||||
|
| -aos* \
|
||||||
| -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \
|
| -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \
|
||||||
| -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \
|
| -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \
|
||||||
| -hiux* | -386bsd* | -netbsd* | -openbsd* | -freebsd* | -riscix* \
|
| -hiux* | -386bsd* | -netbsd* | -openbsd* | -freebsd* | -riscix* \
|
||||||
@@ -701,7 +716,7 @@ case $os in
|
|||||||
| -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \
|
| -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \
|
||||||
| -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
|
| -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
|
||||||
| -cygwin32* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
|
| -cygwin32* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
|
||||||
| -linux-gnu* | -uxpv*)
|
| -mingw32* | -linux-gnu* | -uxpv*)
|
||||||
# Remember, each alternative MUST END IN *, to match a version number.
|
# Remember, each alternative MUST END IN *, to match a version number.
|
||||||
;;
|
;;
|
||||||
-linux*)
|
-linux*)
|
||||||
@@ -827,7 +842,7 @@ case $basic_machine in
|
|||||||
os=-sysv
|
os=-sysv
|
||||||
;;
|
;;
|
||||||
*-cbm)
|
*-cbm)
|
||||||
os=-amigados
|
os=-amigaos
|
||||||
;;
|
;;
|
||||||
*-dg)
|
*-dg)
|
||||||
os=-dgux
|
os=-dgux
|
||||||
|
|||||||
2
mkpatch
2
mkpatch
@@ -153,7 +153,7 @@ while [ $index -lt $dircount ]; do
|
|||||||
eval origname=$"$fname"
|
eval origname=$"$fname"
|
||||||
echo "Recreating directory ../$origname"
|
echo "Recreating directory ../$origname"
|
||||||
(cd tmpdir; tar xf ../files/$fname.tar)
|
(cd tmpdir; tar xf ../files/$fname.tar)
|
||||||
mv tmpdir/`basename $origname` ../$origname
|
mv tmpdir/$origname ../$origname
|
||||||
index=`expr $index + 1`
|
index=`expr $index + 1`
|
||||||
done
|
done
|
||||||
rm -fr tmpdir
|
rm -fr tmpdir
|
||||||
|
|||||||
@@ -218,7 +218,7 @@ getSimpleHint(Window win, Atom atom, long *retval)
|
|||||||
|
|
||||||
assert(atom!=0);
|
assert(atom!=0);
|
||||||
|
|
||||||
data = (long*)PropGetCheckProperty(window, atom, atom, 32, 1, NULL);
|
data = (long*)PropGetCheckProperty(win, atom, atom, 32, 1, NULL);
|
||||||
|
|
||||||
if (!data)
|
if (!data)
|
||||||
return False;
|
return False;
|
||||||
@@ -1424,7 +1424,7 @@ wKWMUpdateClientGeometryRestore(WWindow *wwin)
|
|||||||
|
|
||||||
|
|
||||||
void
|
void
|
||||||
wKWMUpdateClientState(WWindow *wwin, WKWMStateFlag flags)
|
wKWMUpdateClientStateHint(WWindow *wwin, WKWMStateFlag flags)
|
||||||
{
|
{
|
||||||
if (flags & KWMIconifiedFlag) {
|
if (flags & KWMIconifiedFlag) {
|
||||||
setSimpleHint(wwin->client_win, _XA_KWM_WIN_ICONIFIED,
|
setSimpleHint(wwin->client_win, _XA_KWM_WIN_ICONIFIED,
|
||||||
|
|||||||
@@ -45,7 +45,7 @@ void wKWMInitStuff(WScreen *scr);
|
|||||||
|
|
||||||
Bool wKWMGetUsableArea(WScreen *scr, WArea *area);
|
Bool wKWMGetUsableArea(WScreen *scr, WArea *area);
|
||||||
|
|
||||||
void wKWMCheckClientHints(WWindow *wwin, long *workspace);
|
void wKWMCheckClientHints(WWindow *wwin, int *workspace);
|
||||||
|
|
||||||
Bool wKWMCheckClientHintChange(WWindow *wwin, XPropertyEvent *event);
|
Bool wKWMCheckClientHintChange(WWindow *wwin, XPropertyEvent *event);
|
||||||
|
|
||||||
@@ -63,7 +63,7 @@ void wKWMUpdateClientGeometryRestore(WWindow *wwin);
|
|||||||
|
|
||||||
void wKWMUpdateClientWorkspace(WWindow *wwin);
|
void wKWMUpdateClientWorkspace(WWindow *wwin);
|
||||||
|
|
||||||
void wKWMUpdateClientState(WWindow *wwin, WKWMStateFlag flags);
|
void wKWMUpdateClientStateHint(WWindow *wwin, WKWMStateFlag flags);
|
||||||
|
|
||||||
Bool wKWMManageableClient(WScreen *scr, Window win, char *title);
|
Bool wKWMManageableClient(WScreen *scr, Window win, char *title);
|
||||||
|
|
||||||
|
|||||||
@@ -407,8 +407,6 @@ PlaceWindow(WWindow *wwin, int *x_ret, int *y_ret,
|
|||||||
else
|
else
|
||||||
extra_height = 24; /* random value */
|
extra_height = 24; /* random value */
|
||||||
|
|
||||||
//w = ((usableArea.x2-usableArea.x1) - width);
|
|
||||||
//h = ((usableArea.y2-usableArea.y1) - height - extra_height);
|
|
||||||
w = ((usableArea.x2-X_ORIGIN(scr)) - width);
|
w = ((usableArea.x2-X_ORIGIN(scr)) - width);
|
||||||
h = ((usableArea.y2-Y_ORIGIN(scr)) - height - extra_height);
|
h = ((usableArea.y2-Y_ORIGIN(scr)) - height - extra_height);
|
||||||
if (w<1) w = 1;
|
if (w<1) w = 1;
|
||||||
|
|||||||
@@ -975,7 +975,7 @@ wManageWindow(WScreen *scr, Window window)
|
|||||||
#endif
|
#endif
|
||||||
#ifdef KWM_HINTS
|
#ifdef KWM_HINTS
|
||||||
wKWMUpdateClientWorkspace(wwin);
|
wKWMUpdateClientWorkspace(wwin);
|
||||||
wKWMUpdateClientState(wwin, KWMAllFlags);
|
wKWMUpdateClientStateHint(wwin, KWMAllFlags);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
XUngrabServer(dpy);
|
XUngrabServer(dpy);
|
||||||
|
|||||||
@@ -39,6 +39,7 @@
|
|||||||
/* table of style related options */
|
/* table of style related options */
|
||||||
static char *options[] = {
|
static char *options[] = {
|
||||||
"TitleJustify",
|
"TitleJustify",
|
||||||
|
"ClipTitleFont",
|
||||||
"WindowTitleFont",
|
"WindowTitleFont",
|
||||||
"MenuTitleFont",
|
"MenuTitleFont",
|
||||||
"MenuTextFont",
|
"MenuTextFont",
|
||||||
@@ -46,6 +47,7 @@ static char *options[] = {
|
|||||||
"DisplayFont",
|
"DisplayFont",
|
||||||
"HighlightColor",
|
"HighlightColor",
|
||||||
"HighlightTextColor",
|
"HighlightTextColor",
|
||||||
|
"ClipTitleColor",
|
||||||
"CClipTitleColor",
|
"CClipTitleColor",
|
||||||
"FTitleColor",
|
"FTitleColor",
|
||||||
"PTitleColor",
|
"PTitleColor",
|
||||||
|
|||||||
@@ -29,16 +29,15 @@
|
|||||||
#include <X11/Xutil.h>
|
#include <X11/Xutil.h>
|
||||||
#include <X11/Xatom.h>
|
#include <X11/Xatom.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <wraster.h>
|
|
||||||
#include <pwd.h>
|
#include <pwd.h>
|
||||||
#include <signal.h>
|
#include <signal.h>
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
|
|
||||||
#include "../src/wconfig.h"
|
#include "../src/wconfig.h"
|
||||||
|
|
||||||
#include "WINGs.h"
|
#include "../WINGs/WINGs.h"
|
||||||
#include "WUtil.h"
|
#include "../WINGs/WUtil.h"
|
||||||
#include "wraster.h"
|
#include "../wrlib/wraster.h"
|
||||||
|
|
||||||
#include <proplist.h>
|
#include <proplist.h>
|
||||||
|
|
||||||
|
|||||||
@@ -42,9 +42,11 @@
|
|||||||
/* version of the header for the library: 0.11 */
|
/* version of the header for the library: 0.11 */
|
||||||
#define WRASTER_HEADER_VERSION 11
|
#define WRASTER_HEADER_VERSION 11
|
||||||
|
|
||||||
|
#if 0
|
||||||
#ifdef HAVE_ALLOCA_H
|
#ifdef HAVE_ALLOCA_H
|
||||||
#include <alloca.h>
|
#include <alloca.h>
|
||||||
#endif
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
#include <X11/Xlib.h>
|
#include <X11/Xlib.h>
|
||||||
|
|||||||
Reference in New Issue
Block a user