Changeset 3672 for pjproject/trunk/aconfigure.ac
- Timestamp:
- Jul 20, 2011 3:16:25 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/aconfigure.ac
r3670 r3672 760 760 ) 761 761 762 dnl # SDL alt prefix 763 AC_ARG_WITH(sdl, 764 AC_HELP_STRING([--with-sdl=DIR], 765 [Specify alternate libSDL prefix]), 766 [], 767 [with_sdl=no] 768 ) 769 762 770 dnl # SDL 763 771 AC_ARG_ENABLE(sdl, … … 770 778 ], 771 779 [ 780 SDL_CONFIG="sdl-config" 781 if test "x$with_sdl" != "xno" -a "x$with_sdl" != "x"; then 782 SDL_CONFIG=$with_sdl/bin/sdl-config 783 AC_MSG_RESULT([Using SDL prefix... $with_sdl]) 784 fi 785 772 786 AC_MSG_CHECKING([SDL availability..]) 773 if sdl-config--version; then774 787 if $SDL_CONFIG --version; then 788 AC_SUBST(ac_sdl_cflags) 775 789 AC_SUBST(ac_sdl_ldflags) 776 ac_sdl_cflags=` sdl-config--cflags`790 ac_sdl_cflags=`$SDL_CONFIG --cflags` 777 791 ac_sdl_cflags="-DPJMEDIA_VIDEO_DEV_HAS_SDL=1 $ac_sdl_cflags" 778 ac_sdl_ldflags=` sdl-config--libs`792 ac_sdl_ldflags=`$SDL_CONFIG --libs` 779 793 LIBS="$LIBS $ac_sdl_ldflags" 780 794 fi
Note: See TracChangeset
for help on using the changeset viewer.