diff options
author | hobbs2 <hobbs2> | 2008-02-22 20:12:27 (GMT) |
---|---|---|
committer | hobbs2 <hobbs2> | 2008-02-22 20:12:27 (GMT) |
commit | dc9542bf0d3b20987f36e81b36f5fd595e4e3fa1 (patch) | |
tree | e5cee0a31a01570c9263571c2d4e899a8077e5a9 /winrc.m4 | |
parent | 71c9f66e96564c6c64a0af9a7ae8c06d4e65ceec (diff) | |
download | tktreectrl-dc9542bf0d3b20987f36e81b36f5fd595e4e3fa1.zip tktreectrl-dc9542bf0d3b20987f36e81b36f5fd595e4e3fa1.tar.gz tktreectrl-dc9542bf0d3b20987f36e81b36f5fd595e4e3fa1.tar.bz2 |
* winrc.m4: correct RC_DEPARG definition for !gcc case.
Diffstat (limited to 'winrc.m4')
-rw-r--r-- | winrc.m4 | 7 |
1 files changed, 2 insertions, 5 deletions
@@ -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 |