Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

* winrc.m4: correct RC_DEPARG definition for !gcc case.

  • Loading branch information...
commit dc9542bf0d3b20987f36e81b36f5fd595e4e3fa1 1 parent 71c9f66
hobbs2 authored
Showing with 4 additions and 5 deletions.
  1. +2 −0  ChangeLog
  2. +2 −5 winrc.m4
View
2  ChangeLog
@@ -1,5 +1,7 @@
2008-02-22 Jeff Hobbs <jeffh@ActiveState.com>
+ * winrc.m4: correct RC_DEPARG definition for !gcc case.
+
* generic/tkTreeNotify.c (Percents_ItemDelete, ExpandItemList)
(Percents_ItemVisibility, Percents_Selection): remove TclFormatInt
* generic/qebind.c (QE_ExpandNumber): references and add
View
7 winrc.m4
@@ -2,6 +2,7 @@
AC_DEFUN([TREECTRL_PROG_RC], [
# AC_MSG_CHECKING([for windows resource compiler])
+ RC_DEPARG='"$<"'
if test "${GCC}" = "yes" ; then
AC_CHECK_PROG(RC, windres, windres)
if test "${RC}" = "" ; then
@@ -11,7 +12,6 @@ AC_DEFUN([TREECTRL_PROG_RC], [
RC_TYPE=
RC_INCLUDE=--include
RC_DEFINE=--define
- RC_DEPARG='"$<"'
RES=res.o
# Check for a bug in gcc's windres that causes the
@@ -21,9 +21,7 @@ AC_DEFUN([TREECTRL_PROG_RC], [
# with both. Avoid the bug by passing a POSIX
# path when using the Cygwin toolchain.
- if test "$ac_cv_cygwin" = "yes"; then
- RC_DEPARG='"$<"'
- elif test "$CYGPATH" != "echo" ; then
+ if test "$ac_cv_cygwin" != "yes" -a "$CYGPATH" != "echo" ; then
conftest=/tmp/conftest.rc
echo "STRINGTABLE BEGIN" > $conftest
echo "101 \"name\"" >> $conftest
@@ -53,7 +51,6 @@ AC_DEFUN([TREECTRL_PROG_RC], [
RC_TYPE=-r
RC_INCLUDE=-i
RC_DEFINE=-d
- RC_DEPARG=='"$<"'
RES=res
fi
Please sign in to comment.
Something went wrong with that request. Please try again.