Changeset 182 in MondoRescue
- Timestamp:
- Dec 13, 2005, 2:17:16 AM (19 years ago)
- Location:
- branches/2.05/mondo
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.05/mondo/configure.in
r179 r182 30 30 dnl --with/--enable stuff 31 31 do_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= )32 AC_ARG_ENABLE(x11, AS_HELP_STRING(--enable-x11,Create libXmondo and XMondo for X11/KDE support), do_x=$withval, do_x= ) 33 33 AC_ARG_ENABLE(static-mr, AS_HELP_STRING(--enable-static-mr,Link mondorestore statically), do_static_mr=$withval, do_static_mr= ) 34 34 AC_ARG_ENABLE(debug, AS_HELP_STRING(--enable-debug,Add debugging flags), CFLAGS="$CFLAGS -g", ) … … 43 43 AC_DEFINE_UNQUOTED(MAX_NOOF_MEDIA, $max_noof_media, [Maximum number of media]) 44 44 AC_DEFINE_UNQUOTED(EXTTAPE, $exttape, [Tape blocksize]) 45 if test -n "$do_x"; then45 if test x$do_x = xyes; then 46 46 AC_DEFINE(WITH_X, 1, [Define if compiled with X support]) 47 47 else … … 62 62 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) 63 63 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 65 65 PTHREAD="-L/usr/local/lib -llthread -llgcc_r"; 66 66 if ! test -f /usr/local/include/pthread/linuxthreads/pthread.h; then -
branches/2.05/mondo/mondo/common/Makefile.am
r30 r182 3 3 ## 4 4 5 AM_CPPFLAGS = -DMONDO_LIB=\"$(pkglibdir)\" 5 6 ## Headers 7 6 8 noinst_HEADERS = libmondo-archive.h libmondo-devices.h \ 7 9 libmondo-filelist.h libmondo-files.h libmondo-fork.h \ … … 27 29 libmondo-mountlist.c libmondo-raid.c \ 28 30 libmondo-stream.c libmondo-string.c libmondo-tools.c \ 29 libmondo-verify.c 31 libmondo-verify.c 30 32 libmondo_la_LDFLAGS = -version-info 2:3:0 -shrext .so 31 33 libmondo_la_LIBADD = @LIBS@ -
branches/2.05/mondo/mondo/common/libmondo-tools.c
r165 r182 352 352 { 353 353 assert(home_sz != NULL); 354 strcpy(home_sz, 355 call_program_and_get_last_line_of_output 356 ("find /usr/lib/ /usr/local/ /usr/share/ /usr/local/share/ /opt/ /ramdisk/usr/share/ -type d -maxdepth 2 -name include -prune -o -type d -maxdepth 2 -path '*/mondo/restore-scripts' -printf '%h\n' 2> /dev/null")); 357 358 if (home_sz[0] == '\0') { 359 strcpy(home_sz, 360 call_program_and_get_last_line_of_output 361 ("find /usr -type d -path '*/mondo/restore-scripts' -follow -maxdepth 3 -printf '%h\n' 2> /dev/null")); 362 } 363 if (home_sz[0] == '\0') { 364 return (1); 365 } else { 366 return (0); 367 } 354 strcpy(home_sz, MONDO_LIB); 355 return (0); 368 356 } 369 357
Note:
See TracChangeset
for help on using the changeset viewer.