Changeset 3097 for pjproject/trunk/aconfigure
- Timestamp:
- Feb 10, 2010 6:46:05 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/aconfigure
r3062 r3097 704 704 enable_libsamplerate 705 705 enable_ipp 706 enable_ipp_samples 706 with_ipp 707 with_ipp_samples 708 with_ipp_arch 707 709 enable_ssl 708 710 ' … … 1357 1359 IPPSAMPLES env var or with --with-ipp and 1358 1360 --with-ipp-samples options 1359 --with-ipp=DIR Specify the Intel IPP location1360 --with-ipp-samples=DIR Specify the Intel IPP samples location1361 1361 --disable-ssl Exclude SSL support the build (default: autodetect) 1362 1362 … … 1380 1380 (hint: use CFLAGS and LDFLAGS env var to set the 1381 1381 include/lib paths) 1382 --with-ipp=DIR Specify the Intel IPP location 1383 --with-ipp-samples=DIR Specify the Intel IPP samples location 1384 --with-ipp-arch=ARCH Specify the Intel IPP ARCH suffix, e.g. "64" or 1385 "em64t" 1382 1386 1383 1387 Some influential environment variables: … … 5638 5642 5639 5643 5640 # Check whether --enable-ipp was given. 5641 if test "${enable_ipp+set}" = set; then : 5642 enableval=$enable_ipp; 5644 5645 # Check whether --with-ipp was given. 5646 if test "${with_ipp+set}" = set; then : 5647 withval=$with_ipp; 5643 5648 else 5644 5649 with_ipp=no … … 5647 5652 5648 5653 5649 # Check whether --enable-ipp-samples was given. 5650 if test "${enable_ipp_samples+set}" = set; then : 5651 enableval=$enable_ipp_samples; 5654 5655 # Check whether --with-ipp-samples was given. 5656 if test "${with_ipp_samples+set}" = set; then : 5657 withval=$with_ipp_samples; 5652 5658 else 5653 5659 with_ipp_samples=no 5660 5661 fi 5662 5663 5664 5665 # Check whether --with-ipp-arch was given. 5666 if test "${with_ipp_arch+set}" = set; then : 5667 withval=$with_ipp_arch; 5668 else 5669 with_ipp_arch=no 5654 5670 5655 5671 fi … … 5675 5691 fi 5676 5692 5693 if test "x$with_ipp_arch" != "xno"; then 5694 IPP_SUFFIX="em64t" 5695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: IPP arch suffix is set to $IPP_SUFFIX" >&5 5696 $as_echo "IPP arch suffix is set to $IPP_SUFFIX" >&6; } 5697 else 5698 IPP_SUFFIX="" 5699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: IPP arch suffix is set to empty" >&5 5700 $as_echo "IPP arch suffix is set to empty" >&6; } 5701 fi 5702 5677 5703 if test x$IPPROOT = x; then 5678 5704 as_fn_error "the location is neither specified nor can be guessed. Please specify with IPPROOT env var or with --with-ipp option" "$LINENO" 5 … … 5684 5710 # IPP directory looks okay. 5685 5711 # Remove trailing backslash 5686 IPPROOT=`echo $IPPROOT /| sed 's/\/$//'`5712 IPPROOT=`echo $IPPROOT | sed 's/\/$//'` 5687 5713 5688 5714 SAVED_CFLAGS="$CFLAGS" … … 5692 5718 IPP_CFLAGS="-I$IPPROOT/include" 5693 5719 IPP_LDFLAGS="-L$IPPROOT/sharedlib" 5694 IPP_LIBS="-lippsc -lipps -lippsr -lippcore-lguide"5720 IPP_LIBS="-lippsc${IPP_SUFFIX} -lipps${IPP_SUFFIX} -lippsr${IPP_SUFFIX} -lippcore${IPP_SUFFIX} -lguide" 5695 5721 #IPP_LDFLAGS="-L$IPPROOT/sharedlib" 5696 5722 #IPP_LIBS="-lippscmerged -lippsrmerged -lippsmerged -lippcore" … … 5721 5747 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 5722 5748 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 5723 as_fn_error "failed 5724 See \`config.log' for more details." "$LINENO" 5; } 5749 { as_fn_set_status run with --help for more info 5750 as_fn_error "Error: unable to recognize your IPP installation. Make sure the paths and ARCH suffix are set correctly 5751 See \`config.log' for more details." "$LINENO" 5; }; } 5725 5752 fi 5726 5753 rm -f core conftest.err conftest.$ac_objext \ … … 5760 5787 IPPSAMPLES=`echo $IPPSAMPLES | sed 's/\/$//'` 5761 5788 5762 # Guess the libusc.a build location5789 # Guess the libusc.a/libspeech.a build location 5763 5790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Intel IPP USC build location" >&5 5764 5791 $as_echo_n "checking Intel IPP USC build location... " >&6; } 5765 IPPSAMPLESLIB=`ls -d $IPPSAMPLES/speech-codecs/bin/*gcc*/lib | head -1` 5766 if test ! -d $IPPSAMPLESLIB; then 5792 if test -d $IPPSAMPLES/speech-codecs/bin; then 5793 IPPVER=5 5794 IPPSAMP_DIR=`ls -d $IPPSAMPLES/speech-codecs/bin/*gcc*/lib | head -1` 5795 elif test -d $IPPSAMPLES/speech-codecs/_bin; then 5796 IPPVER=6 5797 IPPSAMP_DIR=`ls -d $IPPSAMPLES/speech-codecs/_bin/*gcc*/lib | head -1` 5798 else 5767 5799 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 5768 5800 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 5769 as_fn_error " the $IPPSAMPLES/speech-codecs/bin/*gcc*/lib directory not found. Have you built the samples?5801 as_fn_error "unable to find $IPPSAMPLES/speech-codecs/bin/*gcc*/lib or $IPPSAMPLES/speech-codecs/_bin/*gcc*/lib directory. Have you built the samples? 5770 5802 See \`config.log' for more details." "$LINENO" 5; } 5771 5803 fi 5772 if test ! -f $IPPSAMPLESLIB/libusc.a; then 5804 5805 # Test the directory 5806 if test ! -d $IPPSAMP_DIR; then 5773 5807 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 5774 5808 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 5775 as_fn_error "libusc.a doesn't exist in $IPPSAMPLESLIB 5809 as_fn_error "There's something wrong with this script, directory $IPPSAMP_DIR does not exist 5810 See \`config.log' for more details." "$LINENO" 5; } 5811 exit 1; 5812 fi 5813 5814 if test "x$IPPVER" = "x5"; then 5815 IPPSAMP_LIBS="libusc.a" 5816 IPPSAMP_LDLIBS="-lusc" 5817 elif test "x$IPPVER" = "x6"; then 5818 IPPSAMP_LIBS="libspeech.a" 5819 IPPSAMP_LDLIBS="-lspeech" 5820 else 5821 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 5822 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 5823 as_fn_error "bug in this script: unsupported IPP version 5776 5824 See \`config.log' for more details." "$LINENO" 5; } 5777 5825 fi 5778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IPPSAMPLESLIB" >&5 5779 $as_echo "$IPPSAMPLESLIB" >&6; } 5826 5827 if test ! -f $IPPSAMP_DIR/$IPPSAMP_LIBS; then 5828 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 5829 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 5830 as_fn_error "$IPPSAMP_LIBS doesn't exist in $IPPSAMP_DIR 5831 See \`config.log' for more details." "$LINENO" 5; } 5832 fi 5833 5834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IPPSAMP_DIR" >&5 5835 $as_echo "$IPPSAMP_DIR" >&6; } 5780 5836 5781 5837 SAVED_CFLAGS="$CFLAGS" … … 5783 5839 SAVED_LIBS="$LIBS" 5784 5840 5785 IPPSAMP LESINC="-I$IPPSAMPLES/speech-codecs/core/usc/include"5786 CFLAGS="$CFLAGS $IPPSAMP LESINC"5787 LDFLAGS="$LDFLAGS -L$IPPSAMP LESLIB"5788 LIBS=" -lusc$LIBS"5841 IPPSAMP_INC="-I$IPPSAMPLES/speech-codecs/core/usc/include" 5842 CFLAGS="$CFLAGS $IPPSAMP_INC" 5843 LDFLAGS="$LDFLAGS -L$IPPSAMP_DIR" 5844 LIBS="$IPPSAMP_LDLIBS $LIBS" 5789 5845 5790 5846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Intel IPP USC usability" >&5 … … 5815 5871 5816 5872 CFLAGS="$SAVED_CFLAGS" 5817 LDFLAGS=" \$(IPP_LDFLAGS)$SAVED_LDFLAGS"5818 LIBS=" \$(IPP_LIBS)$SAVED_LIBS"5819 5820 IPP_CFLAGS="$IPP_CFLAGS $IPPSAMP LESINC"5821 IPP_LDFLAGS="$IPP_LDFLAGS -L$IPPSAMP LESLIB"5822 IPP_LIBS=" -lusc$IPP_LIBS"5873 LDFLAGS="$IPP_LDFLAGS $SAVED_LDFLAGS" 5874 LIBS="$IPP_LIBS $SAVED_LIBS" 5875 5876 IPP_CFLAGS="$IPP_CFLAGS $IPPSAMP_INC" 5877 IPP_LDFLAGS="$IPP_LDFLAGS -L$IPPSAMP_DIR" 5878 IPP_LIBS="$IPPSAMP_LDLIBS $IPP_LIBS" 5823 5879 fi 5880 5881 CFLAGS="$CFLAGS $IPP_CFLAGS" 5882 LDFLAGS="$LDFLAGS $IPP_LDFLAGS" 5883 LIBS="$LIBS $IPP_LIBS" 5824 5884 5825 5885 ac_build_mak_vars="$ac_build_mak_vars\n\
Note: See TracChangeset
for help on using the changeset viewer.