Author: jelmer Date: 2007-11-06 03:43:50 +0000 (Tue, 06 Nov 2007) New Revision: 25855
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=25855 Log: Check for HPUX dl functions. Modified: branches/SAMBA_4_0/ branches/SAMBA_4_0/source/lib/replace/dlfcn.m4 Changeset: Property changes on: branches/SAMBA_4_0 ___________________________________________________________________ Name: bzr:revision-info ...skipped... Name: bzr:revision-id:v3-trunk0 ...skipped... Modified: branches/SAMBA_4_0/source/lib/replace/dlfcn.m4 =================================================================== --- branches/SAMBA_4_0/source/lib/replace/dlfcn.m4 2007-11-06 03:19:07 UTC (rev 25854) +++ branches/SAMBA_4_0/source/lib/replace/dlfcn.m4 2007-11-06 03:43:50 UTC (rev 25855) @@ -8,6 +8,11 @@ AC_CHECK_HEADERS(dlfcn.h) AC_CHECK_FUNCS([dlopen dlsym dlerror dlclose],[],[libreplace_cv_dlfcn=yes]) +libreplace_cv_shl=no +AC_SEARCH_LIBS(shl_load, sl) +AC_CHECK_HEADERS(dl.h) +AC_CHECK_FUNCS([shl_load shl_unload shl_findsym],[],[libreplace_cv_shl=yes]) + AC_VERIFY_C_PROTOTYPE([void *dlopen(const char* filename, unsigned int flags)], [ return 0;