configure.in
changeset 666 fbec2501cf9f
parent 663 8bedd6d61642
child 675 73506d26a1f4
equal deleted inserted replaced
665:d27aab66c5d6 666:fbec2501cf9f
  1052         AC_MSG_RESULT($video_opengl)
  1052         AC_MSG_RESULT($video_opengl)
  1053         if test x$video_opengl = xyes; then
  1053         if test x$video_opengl = xyes; then
  1054             CFLAGS="$CFLAGS -DHAVE_OPENGL"
  1054             CFLAGS="$CFLAGS -DHAVE_OPENGL"
  1055             SYSTEM_LIBS="$SYSTEM_LIBS -lGL"
  1055             SYSTEM_LIBS="$SYSTEM_LIBS -lGL"
  1056             if test x$use_dlopen != xyes; then
  1056             if test x$use_dlopen != xyes; then
  1057                 AC_CHECK_LIB(ltdl, dlopen, SYSTEM_LIBS="$SYSTEM_LIBS -lltdl")
  1057                 AC_CHECK_LIB(c, dlopen, SYSTEM_LIBS="$SYSTEM_LIBS", AC_CHECK_LIB(ltdl, dlopen, SYSTEM_LIBS="$SYSTEM_LIBS -lltdl"))
  1058             fi
  1058             fi
  1059         fi
  1059         fi
  1060     fi
  1060     fi
  1061 }
  1061 }
  1062 
  1062 
  2213         CheckPTHREAD
  2213         CheckPTHREAD
  2214         # Set up files for the main() stub
  2214         # Set up files for the main() stub
  2215         COPY_ARCH_SRC(src/main, linux, SDL_main.c)
  2215         COPY_ARCH_SRC(src/main, linux, SDL_main.c)
  2216         # Set up files for the audio library
  2216         # Set up files for the audio library
  2217         if test x$enable_audio = xyes; then
  2217         if test x$enable_audio = xyes; then
  2218             CFLAGS="$CFLAGS -DALSA_SUPPORT"
  2218             CFLAGS="$CFLAGS -DQNXNTOAUDIO_SUPPORT"
  2219             SYSTEM_LIBS="$SYSTEM_LIBS -lasound"
  2219             SYSTEM_LIBS="$SYSTEM_LIBS -lasound"
  2220             AUDIO_SUBDIRS="$AUDIO_SUBDIRS nto"
  2220             AUDIO_SUBDIRS="$AUDIO_SUBDIRS nto"
  2221             AUDIO_DRIVERS="$AUDIO_DRIVERS nto/libaudio_nto.la"
  2221             AUDIO_DRIVERS="$AUDIO_DRIVERS nto/libaudio_nto.la"
  2222         fi
  2222         fi
  2223         # Set up files for the joystick library
  2223         # Set up files for the joystick library