Changeset 4149 for pjproject/trunk/aconfigure.ac
- Timestamp:
- Jun 1, 2012 4:27:01 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/aconfigure.ac
r4131 r4149 105 105 ;; 106 106 esac 107 108 AC_SUBST(ac_cross_compile) 109 if test "$build" = "$host"; then 110 ac_cross_compile= 111 else 112 ac_cross_compile=${host_orig}- 113 fi 107 114 108 115 AC_CHECK_LIB(pthread,pthread_create) … … 831 838 ) 832 839 840 dnl # Do not use default SDL installation if we are cross-compiling 841 if test "x$ac_cross_compile" != "x" -a "x$with_sdl" = "xno"; then 842 enable_sdl=no 843 fi 844 833 845 dnl # SDL 834 846 AC_ARG_ENABLE(sdl, … … 860 872 ]) 861 873 874 875 AC_ARG_WITH(ffmpeg, 876 AC_HELP_STRING([--with-ffmpeg=DIR], 877 [Specify alternate FFMPEG prefix]), 878 [], 879 [with_ffmpeg=no] 880 ) 881 882 dnl # Do not use default ffmpeg installation if we are cross-compiling 883 if test "x$ac_cross_compile" != "x" -a "x$with_ffmpeg" = "xno"; then 884 enable_ffmpeg=no 885 fi 862 886 863 887 dnl # FFMPEG stuffs … … 984 1008 ) 985 1009 986 AC_ARG_WITH(ffmpeg,987 AC_HELP_STRING([--with-ffmpeg=DIR],988 [Specify alternate FFMPEG prefix]),989 [],990 [with_ffmpeg=no]991 )992 993 994 1010 dnl # Video for Linux 2 995 1011 AC_ARG_ENABLE(v4l2, … … 1254 1270 dnl # 1255 1271 1272 dnl # SSL alt prefix 1273 AC_ARG_WITH(ssl, 1274 AC_HELP_STRING([--with-ssl=DIR], 1275 [Specify alternate libssl prefix]), 1276 [], 1277 [with_ssl=no] 1278 ) 1279 1280 dnl # Do not use default SSL installation if we are cross-compiling 1281 if test "x$ac_cross_compile" != "x" -a "x$with_ssl" = "xno"; then 1282 enable_ssl=no 1283 fi 1284 1256 1285 dnl # Include SSL support 1257 1286 AC_SUBST(ac_no_ssl) … … 1268 1297 [ 1269 1298 AC_MSG_RESULT([checking for OpenSSL installations..]) 1299 if test "x$with_ssl" != "xno" -a "x$with_ssl" != "x"; then 1300 CFLAGS="$CFLAGS -I$with_ssl/include" 1301 LDFLAGS="$LDFLAGS -L$with_ssl/lib" 1302 AC_MSG_RESULT([Using SSL prefix... $with_ssl]) 1303 fi 1270 1304 AC_SUBST(openssl_h_present) 1271 1305 AC_SUBST(libssl_present) … … 1284 1318 ]) 1285 1319 1320 dnl # opencore-amrnb alt prefix 1321 AC_ARG_WITH(opencore-amrnb, 1322 AC_HELP_STRING([--with-opencore-amrnb=DIR], 1323 [Specify alternate libopencore-amrnb prefix]), 1324 [], 1325 [with_opencore_amrnb=no] 1326 ) 1327 1328 dnl # Do not use default opencore-amrnb installation if we are cross-compiling 1329 if test "x$ac_cross_compile" != "x" -a "x$with_opencore_amrnb" = "xno"; then 1330 enable_opencore_amrnb=no 1331 fi 1332 1286 1333 dnl # Include opencore-amrnb support 1287 1334 AC_SUBST(ac_no_opencore_amrnb) … … 1299 1346 [ 1300 1347 AC_MSG_RESULT([checking for OpenCORE AMR-NB installations..]) 1348 if test "x$with_opencore_amrnb" != "xno" -a "x$with_opencore_amrnb" != "x"; then 1349 CFLAGS="$CFLAGS -I$with_opencore_amrnb/include" 1350 LDFLAGS="$LDFLAGS -L$with_opencore_amrnb/lib" 1351 AC_MSG_RESULT([Using OpenCORE AMR-NB prefix... $with_opencore_amrnb]) 1352 fi 1301 1353 AC_SUBST(opencore_amrnb_h_present) 1302 1354 AC_SUBST(opencore_amrnb_present) … … 1381 1433 1382 1434 AC_SUBST(target) 1383 AC_SUBST(ac_cross_compile)1384 if test "$build" = "$host"; then1385 ac_cross_compile=1386 else1387 ac_cross_compile=${host_orig}-1388 fi1389 1435 AC_SUBST(ac_linux_poll,select) 1390 1436 AC_SUBST(ac_host,unix)
Note: See TracChangeset
for help on using the changeset viewer.