configure.in
branchSDL-1.2
changeset 4326 a156aea07417
parent 4325 df4108bfbe1e
child 4327 2b6e3b42f80f
equal deleted inserted replaced
4325:df4108bfbe1e 4326:a156aea07417
  2123 
  2123 
  2124         if test x$have_dlopen = xyes; then
  2124         if test x$have_dlopen = xyes; then
  2125             AC_CHECK_LIB(c, dlopen, EXTRA_LDFLAGS="$EXTRA_LDFLAGS",
  2125             AC_CHECK_LIB(c, dlopen, EXTRA_LDFLAGS="$EXTRA_LDFLAGS",
  2126                AC_CHECK_LIB(dl, dlopen, EXTRA_LDFLAGS="$EXTRA_LDFLAGS -ldl",
  2126                AC_CHECK_LIB(dl, dlopen, EXTRA_LDFLAGS="$EXTRA_LDFLAGS -ldl",
  2127                   AC_CHECK_LIB(ltdl, dlopen, EXTRA_LDFLAGS="$EXTRA_LDFLAGS -lltdl")))
  2127                   AC_CHECK_LIB(ltdl, dlopen, EXTRA_LDFLAGS="$EXTRA_LDFLAGS -lltdl")))
  2128             AC_CHECK_LIB(dl, dlvsym, have_dlvsym=yes)
       
  2129             if test x$have_dlvsym = xyes; then
       
  2130                 AC_DEFINE(HAVE_DLVSYM)
       
  2131             fi
       
  2132             AC_DEFINE(SDL_LOADSO_DLOPEN)
  2128             AC_DEFINE(SDL_LOADSO_DLOPEN)
  2133             SOURCES="$SOURCES $srcdir/src/loadso/dlopen/*.c"
  2129             SOURCES="$SOURCES $srcdir/src/loadso/dlopen/*.c"
  2134             have_loadso=yes
  2130             have_loadso=yes
  2135         fi
  2131         fi
  2136     fi
  2132     fi