IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jan 2, 2007, 2:20:49 PM (19 years ago)
Author:
Paul Price
Message:

Adding tests for X11.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psModules/configure.ac

    r10610 r10876  
    148148
    149149  if test "$HAVE_KAPA" = "true" -a "$KAPA_LIBS_CONFIG" = "true" ; then
    150    AC_MSG_NOTICE([libkapa ldflags info supplied by ohana-config])
    151    AC_MSG_CHECKING([libkapa ldflags])
    152    KAPA_LIBS="`${KAPA_CONFIG} --libs` -lX11"
    153    AC_MSG_RESULT([${KAPA_LIBS}])
     150   AC_PATH_X
     151   if test "$no_x" = "yes" ; then
     152      AC_MSG_WARN([X11 not found: output plots using kapa disabled.  Use --x-includes and --x-libraries if required.])
     153      HAVE_KAPA="false"
     154   else
     155      AC_MSG_NOTICE([libkapa ldflags info supplied by ohana-config])
     156      AC_MSG_CHECKING([libkapa ldflags])
     157      KAPA_LIBS="`${KAPA_CONFIG} --libs` -L$x_libraries -lX11"
     158      KAPA_CFLAGS="${KAPA_CFLAGS} -I$x_includes"
     159      AC_MSG_RESULT([${KAPA_LIBS}])
     160   fi
    154161  fi
    155162fi
Note: See TracChangeset for help on using the changeset viewer.