comparison configure @ 16711:acea5fa35f16

typo fix at (_)ld_dl patch by jb13 at gomerbud com
author iive
date Sat, 08 Oct 2005 20:43:41 +0000
parents d2644619e364
children 2059bee8c11c
comparison
equal deleted inserted replaced
16710:489030a0d37c 16711:acea5fa35f16
2719 #include <dlfcn.h> 2719 #include <dlfcn.h>
2720 int main(void) { dlopen(0, 0); dlclose(0); dlsym(0, 0); return 0; } 2720 int main(void) { dlopen(0, 0); dlclose(0); dlsym(0, 0); return 0; }
2721 EOF 2721 EOF
2722 _dl=no 2722 _dl=no
2723 for _ld_tmp in "" "-ldl" ; do 2723 for _ld_tmp in "" "-ldl" ; do
2724 cc_check $_ld_tmp && ld_dl="$_ld_tmp" && _dl=yes && break 2724 cc_check $_ld_tmp && _ld_dl="$_ld_tmp" && _dl=yes && break
2725 done 2725 done
2726 if test "$_dl" = yes ; then 2726 if test "$_dl" = yes ; then
2727 _def_dl='#define HAVE_LIBDL 1' 2727 _def_dl='#define HAVE_LIBDL 1'
2728 else 2728 else
2729 _def_dl='#undef HAVE_LIBDL' 2729 _def_dl='#undef HAVE_LIBDL'