Ignore:
Timestamp:
Dec 13, 2005, 2:17:16 AM (15 years ago)
Author:
bcornec
Message:

disable x11 build by default
g_mondo_home is now computed at compile time with a define

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.05/mondo/configure.in

    r179 r182  
    3030dnl --with/--enable stuff
    3131do_static_mr=
    32 AC_ARG_WITH(x11, AS_HELP_STRING(--with-x11,Create libXmondo and XMondo for X11/KDE support), do_x=$withval, do_x= )
     32AC_ARG_ENABLE(x11, AS_HELP_STRING(--enable-x11,Create libXmondo and XMondo for X11/KDE support), do_x=$withval, do_x= )
    3333AC_ARG_ENABLE(static-mr, AS_HELP_STRING(--enable-static-mr,Link mondorestore statically), do_static_mr=$withval, do_static_mr= )
    3434AC_ARG_ENABLE(debug, AS_HELP_STRING(--enable-debug,Add debugging flags), CFLAGS="$CFLAGS -g", )
     
    4343AC_DEFINE_UNQUOTED(MAX_NOOF_MEDIA, $max_noof_media, [Maximum number of media])
    4444AC_DEFINE_UNQUOTED(EXTTAPE, $exttape, [Tape blocksize])
    45 if test -n "$do_x"; then
     45if test x$do_x = xyes; then
    4646    AC_DEFINE(WITH_X, 1, [Define if compiled with X support])
    4747else
     
    6262        AC_ARG_ENABLE(standard-pthreads, AS_HELP_STRING(--enable-standard-pthreads,(FreeBSD only) Compile with FreeBSD "standard" pthreads instead of LinuxThreads -- *MAY BE UNSTABLE*), standardthread=1, standardthread=0)
    6363        if test $standardthread -eq 0; then
    64             CPPFLAGS="$CPPFLAGS -D_THREAD_SAFE -D_REENTRANT -I/usr/local/include/pthread/linuxthreads"
     64            CPPFLAGS=$CPPFLAGS -D_THREAD_SAFE -D_REENTRANT -I/usr/local/include/pthread/linuxthreads
    6565            PTHREAD="-L/usr/local/lib -llthread -llgcc_r";
    6666            if ! test -f /usr/local/include/pthread/linuxthreads/pthread.h; then
Note: See TracChangeset for help on using the changeset viewer.