comparison configure.in @ 824:a3bf0451c79b

-lgem must appear after -lldg
author Patrice Mandin <patmandin@gmail.com>
date Sun, 15 Feb 2004 08:32:25 +0000
parents 5a417d2a8603
children f9a5fbcdf868
comparison
equal deleted inserted replaced
823:d67e76f25874 824:a3bf0451c79b
1624 if test x$video_gem = xyes -a x$enable_atari_ldg = xyes; then 1624 if test x$video_gem = xyes -a x$enable_atari_ldg = xyes; then
1625 AC_CHECK_HEADER(ldg.h, have_ldg_hdr=yes) 1625 AC_CHECK_HEADER(ldg.h, have_ldg_hdr=yes)
1626 AC_CHECK_LIB(ldg, ldg_open, have_ldg_lib=yes, have_ldg_lib=no, -lgem) 1626 AC_CHECK_LIB(ldg, ldg_open, have_ldg_lib=yes, have_ldg_lib=no, -lgem)
1627 if test x$have_ldg_hdr = xyes -a x$have_ldg_lib = xyes; then 1627 if test x$have_ldg_hdr = xyes -a x$have_ldg_lib = xyes; then
1628 CFLAGS="$CFLAGS -DENABLE_LDG" 1628 CFLAGS="$CFLAGS -DENABLE_LDG"
1629 SYSTEM_LIBS="$SYSTEM_LIBS -lldg" 1629 SYSTEM_LIBS="$SYSTEM_LIBS -lldg -lgem"
1630 fi 1630 fi
1631 fi 1631 fi
1632 } 1632 }
1633 1633
1634 dnl Check for the usbhid(3) library on *BSD 1634 dnl Check for the usbhid(3) library on *BSD