Ticket #22741: octave-3.2.3-configure-nox.patch

File octave-3.2.3-configure-nox.patch, 687 bytes (added by earcar@…, 14 years ago)
  • configure

    old new  
    74437443echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
    74447444fi
    74457445
    7446 if test "$have_x"; then
     7446if test "$have_x" == yes; then
    74477447
    7448 cat >>confdefs.h <<\_ACEOF
     7448cat >>confdefs.h <<_ACEOF
    74497449#define HAVE_X_WINDOWS 1
    74507450_ACEOF
    74517451
  • configure.in

    old new  
    255255AC_SUBST(DEPEND_EXTRA_SED_PATTERN)
    256256
    257257AC_PATH_X
    258 if test "$have_x"; then
     258if test "$have_x" == yes; then
    259259  AC_DEFINE(HAVE_X_WINDOWS, 1, [Define if you have X11])
    260260
    261261  if test "$x_includes" != "NONE"; then