git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35598
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
dnl path -- try to compile a test program to check for this
save_CFLAGS=$CFLAGS
CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
dnl path -- try to compile a test program to check for this
save_CFLAGS=$CFLAGS
CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
+ save_LIBS="$LIBS"
+ LIBS="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
COMPILED_X_PROGRAM=1
],
[
COMPILED_X_PROGRAM=1
],
[
- AC_MSG_RESULT(no)
- AC_MSG_ERROR(please set LDFLAGS to contain the location of libXm)
- ]
- )
+ AC_MSG_RESULT(no)
+ AC_MSG_ERROR(please set LDFLAGS to contain the location of libXm)
+ ]
+ )
fi
AC_MSG_CHECKING([if we need -lXp and/or -lSM -lICE])
fi
AC_MSG_CHECKING([if we need -lXp and/or -lSM -lICE])