git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10614
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
- if test "x$HAVE_IOSTREAM" = x ; then
+ if test "$ac_cv_header_iostream" = "yes" ; then
+ :
+ else
cat >> confdefs.h <<\EOF
#define wxUSE_IOSTREAMH 1
EOF
cat >> confdefs.h <<\EOF
#define wxUSE_IOSTREAMH 1
EOF
- if test "$ac_cv_header_ole2_h" = "yes" ; then
+ if test "$ac_cv_header_ole2_h" = "yes" ; then
if test "$GCC" = yes ; then
ALL_OBJECTS="$ALL_OBJECTS \$(OLEOBJS)"
ALL_DEPFILES="$ALL_DEPFILES \$(OLEDEPS)"
if test "$GCC" = yes ; then
ALL_OBJECTS="$ALL_OBJECTS \$(OLEOBJS)"
ALL_DEPFILES="$ALL_DEPFILES \$(OLEDEPS)"
AC_CHECK_HEADERS(iostream)
AC_CHECK_HEADERS(iostream)
- if test "x$HAVE_IOSTREAM" = x ; then
- ifelse([$2], , :, [$2])
- else
+ if test "$ac_cv_header_iostream" = "yes" ; then
+ else
+ ifelse([$2], , :, [$2])
- dnl for some reason this test always fails here??
- dnl if test "x$HAVE_OLE2_H" != x ; then
- dnl this one does the right thing though
if test "$ac_cv_header_ole2_h" = "yes" ; then
if test "$GCC" = yes ; then
ALL_OBJECTS="$ALL_OBJECTS \$(OLEOBJS)"
if test "$ac_cv_header_ole2_h" = "yes" ; then
if test "$GCC" = yes ; then
ALL_OBJECTS="$ALL_OBJECTS \$(OLEOBJS)"