comparison configure.in @ 570:04d6411da49d

ate: Thu, 16 Jan 2003 13:48:31 +0200 From: "Mike Gorchak" added support for checking libtool's version of libdl for dlopen.
author Sam Lantinga <slouken@libsdl.org>
date Mon, 20 Jan 2003 01:37:07 +0000
parents 969fbd4dcd4e
children 16cc97387d52
comparison
equal deleted inserted replaced
569:e8063c656626 570:04d6411da49d
1042 ]) 1042 ])
1043 AC_MSG_RESULT($video_opengl) 1043 AC_MSG_RESULT($video_opengl)
1044 if test x$video_opengl = xyes; then 1044 if test x$video_opengl = xyes; then
1045 CFLAGS="$CFLAGS -DHAVE_OPENGL" 1045 CFLAGS="$CFLAGS -DHAVE_OPENGL"
1046 SYSTEM_LIBS="$SYSTEM_LIBS -lGL" 1046 SYSTEM_LIBS="$SYSTEM_LIBS -lGL"
1047 if test x$use_dlopen != xyes; then
1048 AC_CHECK_LIB(ltdl, dlopen, SYSTEM_LIBS="$SYSTEM_LIBS -lltdl")
1049 fi
1047 fi 1050 fi
1048 fi 1051 fi
1049 } 1052 }
1050 1053
1051 dnl Check for BeOS OpenGL 1054 dnl Check for BeOS OpenGL
1556 ]) 1559 ])
1557 AC_MSG_RESULT($use_dlopen) 1560 AC_MSG_RESULT($use_dlopen)
1558 1561
1559 if test x$use_dlopen = xyes; then 1562 if test x$use_dlopen = xyes; then
1560 CFLAGS="$CFLAGS -DUSE_DLOPEN" 1563 CFLAGS="$CFLAGS -DUSE_DLOPEN"
1561 AC_CHECK_LIB(dl, dlopen, SYSTEM_LIBS="$SYSTEM_LIBS -ldl") 1564 AC_CHECK_LIB(dl, dlopen, SYSTEM_LIBS="$SYSTEM_LIBS -ldl", AC_CHECK_LIB(ltdl, dlopen, SYSTEM_LIBS="$SYSTEM_LIBS -lltdl"))
1562 fi 1565 fi
1563 fi 1566 fi
1564 } 1567 }
1565 1568
1566 dnl Check for the usbhid(3) library on *BSD 1569 dnl Check for the usbhid(3) library on *BSD