Changeset 39 for trunk/samba/source/lib/replace
- Timestamp:
- May 27, 2007, 12:26:26 AM (18 years ago)
- Location:
- trunk/samba/source/lib/replace
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/samba/source/lib/replace/autoconf-2.60.m4
r1 r39 1 # AC_GNU_SOURCE 2 # -------------- 3 AC_DEFUN([AC_GNU_SOURCE], 4 [AH_VERBATIM([_GNU_SOURCE], 5 [/* Enable GNU extensions on systems that have them. */ 6 #ifndef _GNU_SOURCE 7 # undef _GNU_SOURCE 8 #endif])dnl 9 AC_BEFORE([$0], [AC_COMPILE_IFELSE])dnl 10 AC_BEFORE([$0], [AC_RUN_IFELSE])dnl 11 AC_DEFINE([_GNU_SOURCE]) 12 ]) 13 1 14 # _AC_C_STD_TRY(STANDARD, TEST-PROLOGUE, TEST-BODY, OPTION-LIST, 2 15 # ACTION-IF-AVAILABLE, ACTION-IF-UNAVAILABLE) -
trunk/samba/source/lib/replace/dlfcn.m4
r1 r39 3 3 LIBS="" 4 4 5 libreplace_cv_dlfcn=no 5 6 AC_SEARCH_LIBS(dlopen, dl) 6 7 7 if test "$ac_cv_search_dlopen" != no; then 8 if test x"${ac_cv_search_dlopen}" = x"no"; then 9 libreplace_cv_dlfcn=yes 10 else 8 11 AC_CHECK_HEADERS(dlfcn.h) 12 AC_CHECK_FUNCS([dlopen dlsym dlerror dlclose],[],[libreplace_cv_dlfcn=yes]) 13 fi 9 14 10 libreplace_cv_dlfcn=no 11 AC_CHECK_FUNCS([dlopen dlsym dlerror dlclose],[],[libreplace_cv_dlfcn=yes]) 12 13 if test x"${libreplace_cv_dlfcn}" = x"yes";then 14 LIBREPLACEOBJ="${LIBREPLACEOBJ} dlfcn.o" 15 fi 15 if test x"${libreplace_cv_dlfcn}" = x"yes";then 16 LIBREPLACEOBJ="${LIBREPLACEOBJ} dlfcn.o" 16 17 fi 17 18 -
trunk/samba/source/lib/replace/test/testsuite.c
r30 r39 512 512 "]\n", \ 513 513 __STRING(func), __location__, __STRING(func), \ 514 str, diff, base, res, _v, _ep, _p, diff - (_ep - _p), diff); \514 str, diff, base, res, _v, _ep, _p, (int)(diff - (_ep - _p)), diff); \ 515 515 return false; \ 516 516 } \
Note:
See TracChangeset
for help on using the changeset viewer.