This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Michael Eager wrote:
I've noticed a problem with the patch: if test "${with_newlib+set}" = set; then AC_LIBTOOL_DLOPEN fi
The test always succeeds. When $with_newlib is "yes", ${with_newlib+set} is "set".
If I change this to the old style test if test "x$with_newlib" = x; then AC_LIBTOOL_DLOPEN fi then it works as expected.
In the message you gave a url to at the start of this thread I see:
if test "x${with_newlib}" != "xyes"; then AC_LIBTOOL_DLOPEN fi
Which would seem to be correct.
If you are unsure of what ${var+set} does, see http://www.opengroup.org/onlinepubs/009695399/utilities/xcu_chap02.html#tag_02_06_02
-- Michael Eager eager@eagercon.com 1960 Park Blvd., Palo Alto, CA 94306 650-325-8077
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |