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

📄 configure

📁 一个很好用的MPEG1/4的开源编码器的应用程序
💻
📖 第 1 页 / 共 5 页
字号:
echo "configure:1214: checking how to run the C preprocessor" >&5# On Suns, sometimes $CPP names a directory.if test -n "$CPP" && test -d "$CPP"; then  CPP=fiif test -z "$CPP"; thenif eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then  echo $ac_n "(cached) $ac_c" 1>&6else    # This must be in double quotes, not single quotes, because CPP may get  # substituted into the Makefile and "${CC-cc}" will confuse make.  CPP="${CC-cc} -E"  # On the NeXT, cc -E runs the code through the compiler's parser,  # not just through cpp.  cat > conftest.$ac_ext <<EOF#line 1229 "configure"#include "confdefs.h"#include <assert.h>Syntax ErrorEOFac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"{ (eval echo configure:1235: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`if test -z "$ac_err"; then  :else  echo "$ac_err" >&5  echo "configure: failed program was:" >&5  cat conftest.$ac_ext >&5  rm -rf conftest*  CPP="${CC-cc} -E -traditional-cpp"  cat > conftest.$ac_ext <<EOF#line 1246 "configure"#include "confdefs.h"#include <assert.h>Syntax ErrorEOFac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"{ (eval echo configure:1252: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`if test -z "$ac_err"; then  :else  echo "$ac_err" >&5  echo "configure: failed program was:" >&5  cat conftest.$ac_ext >&5  rm -rf conftest*  CPP="${CC-cc} -nologo -E"  cat > conftest.$ac_ext <<EOF#line 1263 "configure"#include "confdefs.h"#include <assert.h>Syntax ErrorEOFac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"{ (eval echo configure:1269: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`if test -z "$ac_err"; then  :else  echo "$ac_err" >&5  echo "configure: failed program was:" >&5  cat conftest.$ac_ext >&5  rm -rf conftest*  CPP=/lib/cppfirm -f conftest*firm -f conftest*firm -f conftest*  ac_cv_prog_CPP="$CPP"fi  CPP="$ac_cv_prog_CPP"else  ac_cv_prog_CPP="$CPP"fiecho "$ac_t""$CPP" 1>&6ac_safe=`echo "linux/videodev.h" | sed 'y%./+-%__p_%'`echo $ac_n "checking for linux/videodev.h""... $ac_c" 1>&6echo "configure:1295: checking for linux/videodev.h" >&5if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then  echo $ac_n "(cached) $ac_c" 1>&6else  cat > conftest.$ac_ext <<EOF#line 1300 "configure"#include "confdefs.h"#include <linux/videodev.h>EOFac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"{ (eval echo configure:1305: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`if test -z "$ac_err"; then  rm -rf conftest*  eval "ac_cv_header_$ac_safe=yes"else  echo "$ac_err" >&5  echo "configure: failed program was:" >&5  cat conftest.$ac_ext >&5  rm -rf conftest*  eval "ac_cv_header_$ac_safe=no"firm -f conftest*fiif eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then  echo "$ac_t""yes" 1>&6  :else  echo "$ac_t""no" 1>&6{ echo "configure: error: **** video4linux headers not found ****" 1>&2; exit 1; }fiecho $ac_n "checking for getopt_long in -lc""... $ac_c" 1>&6echo "configure:1328: checking for getopt_long in -lc" >&5ac_lib_var=`echo c'_'getopt_long | sed 'y%./+-%__p_%'`if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then  echo $ac_n "(cached) $ac_c" 1>&6else  ac_save_LIBS="$LIBS"LIBS="-lc  $LIBS"cat > conftest.$ac_ext <<EOF#line 1336 "configure"#include "confdefs.h"/* Override any gcc2 internal prototype to avoid an error.  *//* We use char because int might match the return type of a gcc2    builtin and then its argument prototype would still apply.  */char getopt_long();int main() {getopt_long(); return 0; }EOFif { (eval echo configure:1347: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  rm -rf conftest*  eval "ac_cv_lib_$ac_lib_var=yes"else  echo "configure: failed program was:" >&5  cat conftest.$ac_ext >&5  rm -rf conftest*  eval "ac_cv_lib_$ac_lib_var=no"firm -f conftest*LIBS="$ac_save_LIBS"fiif eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then  echo "$ac_t""yes" 1>&6  CFLAGS="$CFLAGS -D_GNU_SOURCE"else  echo "$ac_t""no" 1>&6fi# Check whether --with-libfame-prefix or --without-libfame-prefix was given.if test "${with_libfame_prefix+set}" = set; then  withval="$with_libfame_prefix"  libfame_config_prefix="$withval"else  libfame_config_prefix=""fi# Check whether --with-libfame-exec-prefix or --without-libfame-exec-prefix was given.if test "${with_libfame_exec_prefix+set}" = set; then  withval="$with_libfame_exec_prefix"  libfame_config_exec_prefix="$withval"else  libfame_config_exec_prefix=""fi# Check whether --enable-libfametest or --disable-libfametest was given.if test "${enable_libfametest+set}" = set; then  enableval="$enable_libfametest"  :else  enable_libfametest=yesfi  if test x$libfame_config_exec_prefix != x ; then     libfame_config_args="$libfame_config_args --exec-prefix=$libfame_config_exec_prefix"     if test x${LIBFAME_CONFIG+set} != xset ; then        LIBFAME_CONFIG=$libfame_config_exec_prefix/bin/libfame-config     fi  fi  if test x$libfame_config_prefix != x ; then     libfame_config_args="$libfame_config_args --prefix=$libfame_config_prefix"     if test x${LIBFAME_CONFIG+set} != xset ; then        LIBFAME_CONFIG=$libfame_config_prefix/bin/libfame-config     fi  fi  # Extract the first word of "libfame-config", so it can be a program name with args.set dummy libfame-config; ac_word=$2echo $ac_n "checking for $ac_word""... $ac_c" 1>&6echo "configure:1408: checking for $ac_word" >&5if eval "test \"`echo '$''{'ac_cv_path_LIBFAME_CONFIG'+set}'`\" = set"; then  echo $ac_n "(cached) $ac_c" 1>&6else  case "$LIBFAME_CONFIG" in  /*)  ac_cv_path_LIBFAME_CONFIG="$LIBFAME_CONFIG" # Let the user override the test with a path.  ;;  ?:/*)			   ac_cv_path_LIBFAME_CONFIG="$LIBFAME_CONFIG" # Let the user override the test with a dos path.  ;;  *)  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS=":"  ac_dummy="$PATH"  for ac_dir in $ac_dummy; do     test -z "$ac_dir" && ac_dir=.    if test -f $ac_dir/$ac_word; then      ac_cv_path_LIBFAME_CONFIG="$ac_dir/$ac_word"      break    fi  done  IFS="$ac_save_ifs"  test -z "$ac_cv_path_LIBFAME_CONFIG" && ac_cv_path_LIBFAME_CONFIG="no"  ;;esacfiLIBFAME_CONFIG="$ac_cv_path_LIBFAME_CONFIG"if test -n "$LIBFAME_CONFIG"; then  echo "$ac_t""$LIBFAME_CONFIG" 1>&6else  echo "$ac_t""no" 1>&6fi  min_libfame_version=0.9.0  echo $ac_n "checking for libfame - version >= $min_libfame_version""... $ac_c" 1>&6echo "configure:1443: checking for libfame - version >= $min_libfame_version" >&5  no_libfame=""  if test "$LIBFAME_CONFIG" = "no" ; then    no_libfame=yes  else    LIBFAME_CFLAGS=`$LIBFAME_CONFIG $libfame_config_args --cflags`    LIBFAME_LIBS=`$LIBFAME_CONFIG $libfame_config_args --libs`    libfame_config_major_version=`$LIBFAME_CONFIG $libfame_config_args --version | \	   sed -e 's,[^0-9.],,g' -e 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`    libfame_config_minor_version=`$LIBFAME_CONFIG $libfame_config_args --version | \	   sed -e 's,[^0-9.],,g' -e 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`    libfame_config_micro_version=`$LIBFAME_CONFIG $libfame_config_args --version | \	   sed -e 's,[^0-9.],,g' -e 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`    if test "x$enable_libfametest" = "xyes" ; then      ac_save_CFLAGS="$CFLAGS"      ac_save_LIBS="$LIBS"      CFLAGS="$CFLAGS $LIBFAME_CFLAGS"      LIBS="$LIBFAME_LIBS $LIBS"      rm -f conf.libfametest      if test "$cross_compiling" = yes; then  echo $ac_n "cross compiling; assumed OK... $ac_c"else  cat > conftest.$ac_ext <<EOF#line 1466 "configure"#include "confdefs.h"#include <fame.h>#include <stdio.h>#include <stdlib.h>int main (){  int major, minor, micro;  char *tmp_version;  system ("touch conf.libfametest");  /* HP/UX 9 (%@#!) writes to sscanf strings */  tmp_version = strdup("$min_libfame_version");  if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {     printf("%s, bad version string\n", "$min_libfame_version");     exit(1);   }  if ((libfame_major_version != $libfame_config_major_version) ||      (libfame_minor_version != $libfame_config_minor_version) ||      (libfame_micro_version != $libfame_config_micro_version))    {      printf("\n*** 'libfame-config --version' returned %d.%d.%d, but Libfame (%d.%d.%d)\n",              $libfame_config_major_version, $libfame_config_minor_version, $libfame_config_micro_version,             libfame_major_version, libfame_minor_version, libfame_micro_version);      printf ("*** was found! If libfame-config was correct, then it is best\n");      printf ("*** to remove the old version of libfame. You may also be able to fix the error\n");      printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");      printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");      printf("*** required on your system.\n");      printf("*** If libfame-config was wrong, set the environment variable LIBFAME_CONFIG\n");      printf("*** to point to the correct copy of libfame-config, and remove the file config.cache\n");      printf("*** before re-running configure\n");    } #if defined (LIBFAME_MAJOR_VERSION) && defined (LIBFAME_MINOR_VERSION) && defined (LIBFAME_MICRO_VERSION)  else if ((libfame_major_version != LIBFAME_MAJOR_VERSION) ||	   (libfame_minor_version != LIBFAME_MINOR_VERSION) ||           (libfame_micro_version != LIBFAME_MICRO_VERSION))    {      printf("*** libfame header files (version %d.%d.%d) do not match\n",	     LIBFAME_MAJOR_VERSION, LIBFAME_MINOR_VERSION, LIBFAME_MICRO_VERSION);      printf("*** library (version %d.%d.%d)\n",	     libfame_major_version, libfame_minor_version, libfame_micro_version);    }#endif /* defined (LIBFAME_MAJOR_VERSION) ... */  else    {      if ((libfame_major_version > major) ||        ((libfame_major_version == major) && (libfame_minor_version > minor)) ||        ((libfame_major_version == major) && (libfame_minor_version == minor) && (libfame_micro_version >= micro)))      {        return 0;       }     else      {        printf("\n*** An old version of libfame (%d.%d.%d) was found.\n",               libfame_major_version, libfame_minor_version, libfame_micro_version);        printf("*** You need a version of libfame newer than %d.%d.%d. The latest version of\n",	       major, minor, micro);        printf("*** libfame is always available from http://www-eleves.enst-bretagne.fr/~chappeli/fame\n");        printf("***\n");        printf("*** If you have already installed a sufficiently new version, this error\n");        printf("*** probably means that the wrong copy of the libfame-config shell script is\n");        printf("*** being found. The easiest way to fix this is to remove the old version\n");        printf("*** of libfame, but you can also set the LIBFAME_CONFIG environment to point to the\n");        printf("*** correct copy of libfame-config. (In this case, you will have to\n");        printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");        printf("*** so that the correct libraries are found at run-time))\n");      }    }  return 1;}EOFif { (eval echo configure:1544: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/nullthen  :else  echo "configure: failed program was:" >&5  cat conftest.$ac_ext >&5  rm -fr conftest*  no_libfame=yesfirm -fr conftest*fi       CFLAGS="$ac_save_CFLAGS"       LIBS="$ac_save_LIBS"     fi  fi  if test "x$no_libfame" = x ; then     echo "$ac_t""yes" 1>&6     :       else     echo "$ac_t""no" 1>&6     if test "$LIBFAME_CONFIG" = "no" ; then       echo "*** The libfame-config script installed by libfame could not be found"       echo "*** If libfame was installed in PREFIX, make sure PREFIX/bin is in"       echo "*** your path, or set the LIBFAME_CONFIG environment variable to the"       echo "*** full path to libfame-config."     else       if test -f conf.libfametest ; then        :       else          echo "*** Could not run libfame test program, checking why..."          CFLAGS="$CFLAGS $LIBFAME_CFLAGS"          LIBS="$LIBS $LIBFAME_LIBS"          cat > conftest.$ac_ext <<EOF#line 1578 "configure"#include "confdefs.h"#include <fame.h>#include <stdio.h>int main() { return ((libfame_major_version) || (libfame_minor_version) || (libfame_micro_version)); ; return 0; }EOFif { (eval echo configure:1588: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  rm -rf conftest*   echo "*** The test program compiled, but did not run. This usually means"          echo "*** that the run-time linker is not finding libfame or finding the wrong"          echo "*** version of LIBFAME. If it is not finding libfame, you'll need to set your"          echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"          echo "*** to the installed location  Also, make sure you have run ldconfig if that"          echo "*** is required on your system"	  echo "***"          echo "*** If you have an old version installed, it is best to remove it, although"          echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"          echo "***" else  echo "configure: failed program was:" >&5  cat conftest.$ac_ext >&5  rm -rf conftest*   echo "*** The test program failed to compile or link. See the file config.log for the"          echo "*** exact error that occured. This usually means libfame was incorrectly installed"          echo "*** or that you have moved libfame since it was installed. In the latter case, you"          echo "*** may want to edit the libfame-config script: $LIBFAME_CONFIG" firm -f conftest*          CFLAGS="$ac_save_CFLAGS"          LIBS="$ac_save_LIBS"       fi     fi     LIBFAME_CFLAGS=""     LIBFAME_LIBS=""     :  fi

⌨️ 快捷键说明

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