# HG changeset patch # User mta # Date 1127090165 0 # Node ID 3ee1c468b215bdd1b9a5521cf443be41c4551d2c # Parent e7561d9e90eeb2e58a1cac9ccd74c9726e770742 [xemacs-hg @ 2005-09-19 00:36:01 by mta] * configure.ac: Fix the cygwin, non-X build by adding XPM header and library files to XE_CFLAGS. Patch from Rick Rankin. * lib-src/installexe.sh: Don't add an exe extention to a file that already has one. Patch from Rick Rankin. diff -r e7561d9e90ee -r 3ee1c468b215 ChangeLog --- a/ChangeLog Sun Sep 18 21:51:11 2005 +0000 +++ b/ChangeLog Mon Sep 19 00:36:05 2005 +0000 @@ -1,3 +1,8 @@ +2005-09-18 Mike Alexander + + * configure.ac: Fix the cygwin, non-X build by adding XPM header + and library files to XE_CFLAGS. Patch from Rick Rankin. + 2005-09-17 Malcolm Purvis * configure.in: Replace with warning to use autoconf 2.59. diff -r e7561d9e90ee -r 3ee1c468b215 configure.ac --- a/configure.ac Sun Sep 18 21:51:11 2005 +0000 +++ b/configure.ac Mon Sep 19 00:36:05 2005 +0000 @@ -3755,6 +3755,7 @@ xpm_problem="" if test -z "$with_xpm"; then XE_PREPEND("$incpath_xpm", CFLAGS) + XE_PREPEND("$incpath_xpm", XE_CFLAGS) XE_PREPEND("$libpath_xpm", LDFLAGS) AC_MSG_CHECKING(for Xpm - no older than 3.4f) xe_check_libs=-lXpm @@ -3794,6 +3795,7 @@ XE_PREPEND("$libpath_xpm", LDFLAGS) XE_PREPEND(-lXpm, libs_x) XE_PREPEND("$incpath_xpm", CFLAGS) + XE_PREPEND("$incpath_xpm", XE_CFLAGS) AC_MSG_CHECKING(for \"FOR_MSW\" xpm) xe_check_libs=-lXpm AC_TRY_LINK(, [XpmCreatePixmapFromData()], diff -r e7561d9e90ee -r 3ee1c468b215 lib-src/ChangeLog --- a/lib-src/ChangeLog Sun Sep 18 21:51:11 2005 +0000 +++ b/lib-src/ChangeLog Mon Sep 19 00:36:05 2005 +0000 @@ -1,3 +1,8 @@ +2005-09-18 Mike Alexander + + * installexe.sh: Don't add an exe extention to a file that already + has one. Patch from Rick Rankin. + 2005-09-14 Stephen J. Turnbull * XEmacs 21.5.22 "cucumber" is released. diff -r e7561d9e90ee -r 3ee1c468b215 lib-src/installexe.sh --- a/lib-src/installexe.sh Sun Sep 18 21:51:11 2005 +0000 +++ b/lib-src/installexe.sh Mon Sep 19 00:36:05 2005 +0000 @@ -5,11 +5,16 @@ tstr="" -while [ $# -gt 0 ] +while [[ $# -gt 0 ]] do - if [ -f $1.exe ] + if [[ -f $1.exe ]] then - tstr="$tstr$1.exe $2.exe" + if [[ "$2" == *.exe ]] + then + tstr="$tstr$1 $2" + else + tstr="$tstr$1.exe $2.exe" + fi shift 2 else tstr="$tstr$1 "