configure.in
changeset 570 04d6411da49d
parent 567 969fbd4dcd4e
child 582 16cc97387d52
     1.1 --- a/configure.in	Mon Jan 20 01:36:28 2003 +0000
     1.2 +++ b/configure.in	Mon Jan 20 01:37:07 2003 +0000
     1.3 @@ -1044,6 +1044,9 @@
     1.4          if test x$video_opengl = xyes; then
     1.5              CFLAGS="$CFLAGS -DHAVE_OPENGL"
     1.6              SYSTEM_LIBS="$SYSTEM_LIBS -lGL"
     1.7 +            if test x$use_dlopen != xyes; then
     1.8 +                AC_CHECK_LIB(ltdl, dlopen, SYSTEM_LIBS="$SYSTEM_LIBS -lltdl")
     1.9 +            fi
    1.10          fi
    1.11      fi
    1.12  }
    1.13 @@ -1558,7 +1561,7 @@
    1.14  
    1.15          if test x$use_dlopen = xyes; then
    1.16              CFLAGS="$CFLAGS -DUSE_DLOPEN"
    1.17 -            AC_CHECK_LIB(dl, dlopen, SYSTEM_LIBS="$SYSTEM_LIBS -ldl")
    1.18 +            AC_CHECK_LIB(dl, dlopen, SYSTEM_LIBS="$SYSTEM_LIBS -ldl", AC_CHECK_LIB(ltdl, dlopen, SYSTEM_LIBS="$SYSTEM_LIBS -lltdl"))
    1.19          fi
    1.20      fi
    1.21  }