Changeset 423 in MondoRescue for branches/stable/mondo/configure.in


Ignore:
Timestamp:
Feb 21, 2006, 6:27:48 PM (18 years ago)
Author:
bcornec
Message:
  • .spec files adapted to make rpmlint happy
  • no more dyn. libs in mondo
  • no more the X11 part in mondo
File:
1 edited

Legend:

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

    r415 r423  
    2121AM_MAINTAINER_MODE
    2222
    23 AM_PROG_LIBTOOL
    2423AC_PROG_CXX
    2524AC_PROG_AWK
    2625AC_PROG_CC
     26AC_PROG_RANLIB
    2727AC_PROG_CPP
    2828AC_PROG_INSTALL
     
    3333dnl --with/--enable stuff
    3434do_static_mr=
    35 AC_ARG_ENABLE(x11, AS_HELP_STRING(--enable-x11,Create libXmondo and XMondo for X11/KDE support), do_x=$withval, do_x= )
    3635AC_ARG_ENABLE(static-mr, AS_HELP_STRING(--enable-static-mr,Link mondorestore statically), do_static_mr=$withval, do_static_mr= )
    3736AC_ARG_ENABLE(debug, AS_HELP_STRING(--enable-debug,Add debugging flags), CFLAGS="$CFLAGS -g", )
     
    4645AC_DEFINE_UNQUOTED(MAX_NOOF_MEDIA, $max_noof_media, [Maximum number of media])
    4746AC_DEFINE_UNQUOTED(EXTTAPE, $exttape, [Tape blocksize])
    48 if test x$do_x = xyes; then
    49     AC_DEFINE(WITH_X, 1, [Define if compiled with X support])
    50 else
    51     AC_DEFINE(WITH_X, 0, [Define if compiled with X support])
    52 fi
    53 AM_CONDITIONAL(XWIN, test x$do_x = xyes)
    5447
    5548# ( which automake 2>/dev/null >/dev/null && ( automake --version 2>&1 | grep -q 1.5 || automake --version 2>&1 | grep -q 1.7 || AC_MSG_ERROR([Automake must be version 1.5 or 1.7, if you have it at all]) ) )
    5649
    5750# Checks for libraries.
    58 AC_CHECK_LIB([dl], [main])
     51dnl AC_CHECK_LIB([dl], [main])
    5952AC_CHECK_LIB([newt], [newtInit])
    6053standardthread=0;
     
    108101AC_SUBST(LIBS)
    109102
    110 if test x$do_x = xyes ; then
    111     XMONDO=xmondo
    112     QT_LIBRARY=-lqt
    113     AC_PATH_XTRA
    114     dnl AC_PATH_KDE
    115     dnl KDE_USE_QT(3)
    116 else
    117     dnl Automake requires all conditionals to be done sometime; if they're not being
    118     dnl done by the KDE checks, they're done here.
    119     AM_CONDITIONAL(include_ARTS, false)
    120     dnl AC_FIND_BZIP2
    121     dnl KDE_CHECK_BINUTILS
    122     XMONDO=
    123     QT_LIBRARY=
    124 fi
    125 AC_SUBST(XMONDO)
    126 AC_SUBST(QT_LIBRARY)
    127 
    128103# Checks for header files.
    129104AC_HEADER_STDC
     
    146121AC_CHECK_FUNCS([bzero getcwd memmove memset mkdir mkfifo setenv strcasecmp strchr strerror strrchr strstr])
    147122
    148 if test -n "$qt_includes"; then
    149     my_qt_includes="-I$qt_includes"
    150 else
    151     my_qt_includes=""
    152 fi
    153 AC_SUBST(my_qt_includes)
    154 
    155 if test -n "$qt_libraries"; then
    156     my_qt_libraries="-L$qt_libraries"
    157 else
    158     my_qt_libraries=""
    159 fi
    160 AC_SUBST(my_qt_libraries)
    161 
    162 if test -n "$kde_includes"; then
    163     my_kde_includes="-I$kde_includes"
    164 else
    165     my_kde_includes=""
    166 fi
    167 AC_SUBST(my_kde_includes)
    168 
    169 if test -n "$kde_libraries"; then
    170     my_kde_libraries="-L$kde_libraries"
    171 else
    172     my_kde_libraries=""
    173 fi
    174 AC_SUBST(my_kde_libraries)
    175 
    176 AC_OUTPUT([Makefile mondo/Makefile mondo/common/Makefile mondo/mondoarchive/Makefile mondo/mondorestore/Makefile mondo/restore-scripts/Makefile mondo/restore-scripts/mondo/Makefile mondo/restore-scripts/usr/Makefile mondo/restore-scripts/usr/bin/Makefile mondo/xmondo/Makefile mondo/post-nuke.sample/Makefile mondo/post-nuke.sample/usr/Makefile mondo/post-nuke.sample/usr/bin/Makefile])
     123AC_OUTPUT([Makefile mondo/Makefile mondo/common/Makefile mondo/mondoarchive/Makefile mondo/mondorestore/Makefile mondo/restore-scripts/Makefile mondo/restore-scripts/mondo/Makefile mondo/restore-scripts/usr/Makefile mondo/restore-scripts/usr/bin/Makefile mondo/post-nuke.sample/Makefile mondo/post-nuke.sample/usr/Makefile mondo/post-nuke.sample/usr/bin/Makefile])
Note: See TracChangeset for help on using the changeset viewer.