- Timestamp:
- Dec 13, 2005, 2:20:45 AM (19 years ago)
- Location:
- trunk/mondo
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/mondo/configure.in
r181 r183 55 55 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) 56 56 if test $standardthread -eq 0; then 57 CPPFLAGS= "$CPPFLAGS -D_THREAD_SAFE -D_REENTRANT -I/usr/local/include/pthread/linuxthreads"57 CPPFLAGS=$CPPFLAGS -D_THREAD_SAFE -D_REENTRANT -I/usr/local/include/pthread/linuxthreads 58 58 PTHREAD="-L/usr/local/lib -llthread -llgcc_r"; 59 59 if ! test -f /usr/local/include/pthread/linuxthreads/pthread.h; then -
trunk/mondo/mondo/common/Makefile.am
r129 r183 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 \ … … 24 26 libmondo-mountlist.c libmondo-raid.c \ 25 27 libmondo-stream.c libmondo-string.c libmondo-tools.c \ 26 libmondo-verify.c 28 libmondo-verify.c 27 29 libmondo_la_LDFLAGS = -version-info 2:3:0 -shrext .so 28 30 libmondo_la_LIBADD = @LIBS@ -
trunk/mondo/mondo/common/libmondo-tools.c
r171 r183 190 190 char *home_sz = NULL; 191 191 192 asprintf(&home_sz, 193 call_program_and_get_last_line_of_output 194 ("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")); 195 196 if (home_sz[0] == '\0') { 197 paranoid_free(home_sz); 198 asprintf(&home_sz, 199 call_program_and_get_last_line_of_output 200 ("find /usr -type d -path '*/mondo/restore-scripts' -follow -maxdepth 3 -printf '%h\n' 2> /dev/null")); 201 } 202 if (home_sz[0] == '\0') { 203 paranoid_free(home_sz); 204 home_sz = NULL; 205 } else { 206 log_it("mondoarchive home found at %s", home_sz); 207 } 192 asprintf(&home_sz, MONDO_LIB); 208 193 return (home_sz); 209 194 }
Note:
See TracChangeset
for help on using the changeset viewer.