⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 aclocal.m4

📁 网络MPEG4IP流媒体开发源代码
💻 M4
📖 第 1 页 / 共 5 页
字号:
firmdir .libs 2>/dev/nullAC_MSG_RESULT($objdir)AC_ARG_WITH(pic,[  --with-pic              try to use only PIC/non-PIC objects [default=use both]],pic_mode="$withval", pic_mode=default)test -z "$pic_mode" && pic_mode=default# We assume here that the value for lt_cv_prog_cc_pic will not be cached# in isolation, and that seeing it set (from the cache) indicates that# the associated values are set (in the cache) correctly too.AC_MSG_CHECKING([for $compiler option to produce PIC])AC_CACHE_VAL(lt_cv_prog_cc_pic,[ lt_cv_prog_cc_pic=  lt_cv_prog_cc_shlib=  lt_cv_prog_cc_wl=  lt_cv_prog_cc_static=  lt_cv_prog_cc_no_builtin=  lt_cv_prog_cc_can_build_shared=$can_build_shared  if test "$GCC" = yes; then    lt_cv_prog_cc_wl='-Wl,'    lt_cv_prog_cc_static='-static'    case $host_os in    aix*)      # Below there is a dirty hack to force normal static linking with -ldl      # The problem is because libdl dynamically linked with both libc and      # libC (AIX C++ library), which obviously doesn't included in libraries      # list by gcc. This cause undefined symbols with -static flags.      # This hack allows C programs to be linked with "-static -ldl", but      # not sure about C++ programs.      lt_cv_prog_cc_static="$lt_cv_prog_cc_static ${lt_cv_prog_cc_wl}-lC"      ;;    amigaos*)      # FIXME: we need at least 68020 code to build shared libraries, but      # adding the `-m68020' flag to GCC prevents building anything better,      # like `-m68040'.      lt_cv_prog_cc_pic='-m68020 -resident32 -malways-restore-a4'      ;;    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)      # PIC is the default for these OSes.      ;;    darwin* | rhapsody*)      # PIC is the default on this platform      # Common symbols not allowed in MH_DYLIB files      lt_cv_prog_cc_pic='-fno-common'      ;;    cygwin* | mingw* | pw32* | os2*)      # This hack is so that the source file can tell whether it is being      # built for inclusion in a dll (and should export symbols for example).      lt_cv_prog_cc_pic='-DDLL_EXPORT'      ;;    sysv4*MP*)      if test -d /usr/nec; then	 lt_cv_prog_cc_pic=-Kconform_pic      fi      ;;    *)      lt_cv_prog_cc_pic='-fPIC'      ;;    esac  else    # PORTME Check for PIC flags for the system compiler.    case $host_os in    aix3* | aix4* | aix5*)      lt_cv_prog_cc_wl='-Wl,'      # All AIX code is PIC.      if test "$host_cpu" = ia64; then	# AIX 5 now supports IA64 processor	lt_cv_prog_cc_static='-Bstatic'      else	lt_cv_prog_cc_static='-bnso -bI:/lib/syscalls.exp'      fi      ;;    hpux9* | hpux10* | hpux11*)      # Is there a better lt_cv_prog_cc_static that works with the bundled CC?      lt_cv_prog_cc_wl='-Wl,'      lt_cv_prog_cc_static="${lt_cv_prog_cc_wl}-a ${lt_cv_prog_cc_wl}archive"      lt_cv_prog_cc_pic='+Z'      ;;    irix5* | irix6* | nonstopux*)      lt_cv_prog_cc_wl='-Wl,'      lt_cv_prog_cc_static='-non_shared'      # PIC (with -KPIC) is the default.      ;;    cygwin* | mingw* | pw32* | os2*)      # This hack is so that the source file can tell whether it is being      # built for inclusion in a dll (and should export symbols for example).      lt_cv_prog_cc_pic='-DDLL_EXPORT'      ;;    newsos6)      lt_cv_prog_cc_pic='-KPIC'      lt_cv_prog_cc_static='-Bstatic'      ;;    osf3* | osf4* | osf5*)      # All OSF/1 code is PIC.      lt_cv_prog_cc_wl='-Wl,'      lt_cv_prog_cc_static='-non_shared'      ;;    sco3.2v5*)      lt_cv_prog_cc_pic='-Kpic'      lt_cv_prog_cc_static='-dn'      lt_cv_prog_cc_shlib='-belf'      ;;    solaris*)      lt_cv_prog_cc_pic='-KPIC'      lt_cv_prog_cc_static='-Bstatic'      lt_cv_prog_cc_wl='-Wl,'      ;;    sunos4*)      lt_cv_prog_cc_pic='-PIC'      lt_cv_prog_cc_static='-Bstatic'      lt_cv_prog_cc_wl='-Qoption ld '      ;;    sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)      lt_cv_prog_cc_pic='-KPIC'      lt_cv_prog_cc_static='-Bstatic'      lt_cv_prog_cc_wl='-Wl,'      ;;    uts4*)      lt_cv_prog_cc_pic='-pic'      lt_cv_prog_cc_static='-Bstatic'      ;;    sysv4*MP*)      if test -d /usr/nec ;then	lt_cv_prog_cc_pic='-Kconform_pic'	lt_cv_prog_cc_static='-Bstatic'      fi      ;;    *)      lt_cv_prog_cc_can_build_shared=no      ;;    esac  fi])if test -z "$lt_cv_prog_cc_pic"; then  AC_MSG_RESULT([none])else  AC_MSG_RESULT([$lt_cv_prog_cc_pic])  # Check to make sure the pic_flag actually works.  AC_MSG_CHECKING([if $compiler PIC flag $lt_cv_prog_cc_pic works])  AC_CACHE_VAL(lt_cv_prog_cc_pic_works, [dnl    save_CFLAGS="$CFLAGS"    CFLAGS="$CFLAGS $lt_cv_prog_cc_pic -DPIC"    AC_TRY_COMPILE([], [], [dnl      case $host_os in      hpux9* | hpux10* | hpux11*)	# On HP-UX, both CC and GCC only warn that PIC is supported... then	# they create non-PIC objects.  So, if there were any warnings, we	# assume that PIC is not supported.	if test -s conftest.err; then	  lt_cv_prog_cc_pic_works=no	else	  lt_cv_prog_cc_pic_works=yes	fi	;;      *)	lt_cv_prog_cc_pic_works=yes	;;      esac    ], [dnl      lt_cv_prog_cc_pic_works=no    ])    CFLAGS="$save_CFLAGS"  ])  if test "X$lt_cv_prog_cc_pic_works" = Xno; then    lt_cv_prog_cc_pic=    lt_cv_prog_cc_can_build_shared=no  else    lt_cv_prog_cc_pic=" $lt_cv_prog_cc_pic"  fi  AC_MSG_RESULT([$lt_cv_prog_cc_pic_works])fi# Check for any special shared library compilation flags.if test -n "$lt_cv_prog_cc_shlib"; then  AC_MSG_WARN([\`$CC' requires \`$lt_cv_prog_cc_shlib' to build shared libraries])  if echo "$old_CC $old_CFLAGS " | egrep -e "[[ 	]]$lt_cv_prog_cc_shlib[[ 	]]" >/dev/null; then :  else   AC_MSG_WARN([add \`$lt_cv_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure])    lt_cv_prog_cc_can_build_shared=no  fifiAC_MSG_CHECKING([if $compiler static flag $lt_cv_prog_cc_static works])AC_CACHE_VAL([lt_cv_prog_cc_static_works], [dnl  lt_cv_prog_cc_static_works=no  save_LDFLAGS="$LDFLAGS"  LDFLAGS="$LDFLAGS $lt_cv_prog_cc_static"  AC_TRY_LINK([], [], [lt_cv_prog_cc_static_works=yes])  LDFLAGS="$save_LDFLAGS"])# Belt *and* braces to stop my trousers falling down:test "X$lt_cv_prog_cc_static_works" = Xno && lt_cv_prog_cc_static=AC_MSG_RESULT([$lt_cv_prog_cc_static_works])pic_flag="$lt_cv_prog_cc_pic"special_shlib_compile_flags="$lt_cv_prog_cc_shlib"wl="$lt_cv_prog_cc_wl"link_static_flag="$lt_cv_prog_cc_static"no_builtin_flag="$lt_cv_prog_cc_no_builtin"can_build_shared="$lt_cv_prog_cc_can_build_shared"# Check to see if options -o and -c are simultaneously supported by compilerAC_MSG_CHECKING([if $compiler supports -c -o file.$ac_objext])AC_CACHE_VAL([lt_cv_compiler_c_o], [$rm -r conftest 2>/dev/nullmkdir conftestcd conftestecho "int some_variable = 0;" > conftest.$ac_extmkdir out# According to Tom Tromey, Ian Lance Taylor reported there are C compilers# that will create temporary files in the current directory regardless of# the output directory.  Thus, making CWD read-only will cause this test# to fail, enabling locking or at least warning the user not to do parallel# builds.chmod -w .save_CFLAGS="$CFLAGS"CFLAGS="$CFLAGS -o out/conftest2.$ac_objext"compiler_c_o=noif { (eval echo configure:__oline__: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>out/conftest.err; } && test -s out/conftest2.$ac_objext; then  # The compiler can only warn and ignore the option if not recognized  # So say no if there are warnings  if test -s out/conftest.err; then    lt_cv_compiler_c_o=no  else    lt_cv_compiler_c_o=yes  fielse  # Append any errors to the config.log.  cat out/conftest.err 1>&AC_FD_CC  lt_cv_compiler_c_o=nofiCFLAGS="$save_CFLAGS"chmod u+w .$rm conftest* out/*rmdir outcd ..rmdir conftest$rm -r conftest 2>/dev/null])compiler_c_o=$lt_cv_compiler_c_oAC_MSG_RESULT([$compiler_c_o])if test x"$compiler_c_o" = x"yes"; then  # Check to see if we can write to a .lo  AC_MSG_CHECKING([if $compiler supports -c -o file.lo])  AC_CACHE_VAL([lt_cv_compiler_o_lo], [  lt_cv_compiler_o_lo=no  save_CFLAGS="$CFLAGS"  CFLAGS="$CFLAGS -c -o conftest.lo"  save_objext="$ac_objext"  ac_objext=lo  AC_TRY_COMPILE([], [int some_variable = 0;], [dnl    # The compiler can only warn and ignore the option if not recognized    # So say no if there are warnings    if test -s conftest.err; then      lt_cv_compiler_o_lo=no    else      lt_cv_compiler_o_lo=yes    fi  ])  ac_objext="$save_objext"  CFLAGS="$save_CFLAGS"  ])  compiler_o_lo=$lt_cv_compiler_o_lo  AC_MSG_RESULT([$compiler_o_lo])else  compiler_o_lo=nofi# Check to see if we can do hard links to lock some files if neededhard_links="nottested"if test "$compiler_c_o" = no && test "$need_locks" != no; then  # do not overwrite the value of need_locks provided by the user  AC_MSG_CHECKING([if we can lock with hard links])  hard_links=yes  $rm conftest*  ln conftest.a conftest.b 2>/dev/null && hard_links=no  touch conftest.a  ln conftest.a conftest.b 2>&5 || hard_links=no  ln conftest.a conftest.b 2>/dev/null && hard_links=no  AC_MSG_RESULT([$hard_links])  if test "$hard_links" = no; then    AC_MSG_WARN([\`$CC' does not support \`-c -o', so \`make -j' may be unsafe])    need_locks=warn  fielse  need_locks=nofiif test "$GCC" = yes; then  # Check to see if options -fno-rtti -fno-exceptions are supported by compiler  AC_MSG_CHECKING([if $compiler supports -fno-rtti -fno-exceptions])  echo "int some_variable = 0;" > conftest.$ac_ext  save_CFLAGS="$CFLAGS"  CFLAGS="$CFLAGS -fno-rtti -fno-exceptions -c conftest.$ac_ext"  compiler_rtti_exceptions=no  AC_TRY_COMPILE([], [int some_variable = 0;], [dnl    # The compiler can only warn and ignore the option if not recognized    # So say no if there are warnings    if test -s conftest.err; then      compiler_rtti_exceptions=no    else      compiler_rtti_exceptions=yes    fi  ])  CFLAGS="$save_CFLAGS"  AC_MSG_RESULT([$compiler_rtti_exceptions])  if test "$compiler_rtti_exceptions" = "yes"; then    no_builtin_flag=' -fno-builtin -fno-rtti -fno-exceptions'  else    no_builtin_flag=' -fno-builtin'  fifi# See if the linker supports building shared libraries.AC_MSG_CHECKING([whether the linker ($LD) supports shared libraries])allow_undefined_flag=no_undefined_flag=need_lib_prefix=unknownneed_version=unknown# when you set need_version to no, make sure it does not cause -set_version# flags to be left without argumentsarchive_cmds=archive_expsym_cmds=old_archive_from_new_cmds=old_archive_from_expsyms_cmds=export_dynamic_flag_spec=whole_archive_flag_spec=thread_safe_flag_spec=hardcode_into_libs=nohardcode_libdir_flag_spec=hardcode_libdir_separator=hardcode_direct=nohardcode_minus_L=nohardcode_shlibpath_var=unsupportedrunpath_var=link_all_deplibs=unknownalways_export_symbols=noexport_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | sed '\''s/.* //'\'' | sort | uniq > $export_symbols'# include_expsyms should be a list of space-separated symbols to be *always*# included in the symbol listinclude_expsyms=# exclude_expsyms can be an egrep regular expression of symbols to exclude# it will be wrapped by ` (' and `)$', so one must not match beginning or# end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',# as well as any symbol that contains `d'.exclude_expsyms="_GLOBAL_OFFSET_TABLE_"# Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out# platforms (ab)use it in PIC code, but their linkers get confused if# the symbol is explicitly referenced.  Since portable code cannot# rely on this symbol name, it's probably fine to never include it in# preloaded symbol tables.extract_expsyms_cmds=case $host_os incygwin* | mingw* | pw32*)  # FIXME: the MSVC++ port hasn't been tested in a loooong time  # When not using gcc, we currently assume that we are using  # Microsoft Visual C++.  if test "$GCC" != yes; then    with_gnu_ld=no  fi  ;;openbsd*)  with_gnu_ld=no  ;;esacld_shlibs=yesif test "$with_gnu_ld" = yes; then  # If archive_cmds runs LD, not CC, wlarc should be empty  wlarc='${wl}'  # See if GNU ld supports shared libraries.  case $host_os in  aix3* | aix4* | aix5*)    # On AIX, the GNU linker is very broken    # Note:Check GNU linker on AIX 5-IA64 when/if it becomes available.    ld_shlibs=no    cat <<EOF 1>&2*** Warning: the GNU linker, at least up to release 2.9.1, is reported*** to be 

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -