Skip to content

Instantly share code, notes, and snippets.

@i3abghany
Created March 17, 2022 22:27
Show Gist options
  • Save i3abghany/a85d3f310e8798ceba5359f310d3059d to your computer and use it in GitHub Desktop.
Save i3abghany/a85d3f310e8798ceba5359f310d3059d to your computer and use it in GitHub Desktop.
660a661,664
> pkgconfig_fuse_LIBS
> pkgconfig_fuse_CFLAGS
> pkgconfig_fuse3_LIBS
> pkgconfig_fuse3_CFLAGS
670a675,676
> pkgconfig_XZ_LIBS
> pkgconfig_XZ_CFLAGS
673a680,683
> pkgconfigdir
> PKG_CONFIG_LIBDIR
> PKG_CONFIG_PATH
> PKG_CONFIG
717,719d726
< CSCOPE
< ETAGS
< CTAGS
773a781
> runstatedir
806a815
> with_pkgconfigdir
831c840,849
< CPP'
---
> CPP
> PKG_CONFIG
> PKG_CONFIG_PATH
> PKG_CONFIG_LIBDIR
> pkgconfig_XZ_CFLAGS
> pkgconfig_XZ_LIBS
> pkgconfig_fuse3_CFLAGS
> pkgconfig_fuse3_LIBS
> pkgconfig_fuse_CFLAGS
> pkgconfig_fuse_LIBS'
869a888
> runstatedir='${localstatedir}/run'
1121a1141,1149
> -runstatedir | --runstatedir | --runstatedi | --runstated \
> | --runstate | --runstat | --runsta | --runst | --runs \
> | --run | --ru | --r)
> ac_prev=runstatedir ;;
> -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
> | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
> | --run=* | --ru=* | --r=*)
> runstatedir=$ac_optarg ;;
>
1259c1287
< libdir localedir mandir
---
> libdir localedir mandir runstatedir
1411a1440
> --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
1478a1508,1509
> --with-pkgconfigdir pkg-config installation directory
> ['${libdir}/pkgconfig']
1500a1532,1548
> PKG_CONFIG path to pkg-config utility
> PKG_CONFIG_PATH
> directories to add to pkg-config's search path
> PKG_CONFIG_LIBDIR
> path overriding pkg-config's built-in search path
> pkgconfig_XZ_CFLAGS
> C compiler flags for pkgconfig_XZ, overriding pkg-config
> pkgconfig_XZ_LIBS
> linker flags for pkgconfig_XZ, overriding pkg-config
> pkgconfig_fuse3_CFLAGS
> C compiler flags for pkgconfig_fuse3, overriding pkg-config
> pkgconfig_fuse3_LIBS
> linker flags for pkgconfig_fuse3, overriding pkg-config
> pkgconfig_fuse_CFLAGS
> C compiler flags for pkgconfig_fuse, overriding pkg-config
> pkgconfig_fuse_LIBS
> linker flags for pkgconfig_fuse, overriding pkg-config
3060,3063d3107
< # Variables for tags utilities; see am/tags.am
< if test -z "$CTAGS"; then
< CTAGS=ctags
< fi
3065,3074d3108
< if test -z "$ETAGS"; then
< ETAGS=etags
< fi
<
< if test -z "$CSCOPE"; then
< CSCOPE=cscope
< fi
<
<
<
5605c5639
< netbsd*)
---
> netbsd* | netbsdelf*-gnu)
5967c6001
< : ${AR_FLAGS=cru}
---
> : ${AR_FLAGS=cr}
6468,6472c6502,6503
< if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
< (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
< ac_status=$?
< $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
< test $ac_status = 0; } && test -s "$nlist"; then
---
> $ECHO "$as_me:$LINENO: $NM conftest.$ac_objext | $lt_cv_sys_global_symbol_pipe > $nlist" >&5
> if eval "$NM" conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist 2>&5 && test -s "$nlist"; then
7691,7692c7722,7723
< echo "$AR cru libconftest.a conftest.o" >&5
< $AR cru libconftest.a conftest.o 2>&5
---
> echo "$AR cr libconftest.a conftest.o" >&5
> $AR cr libconftest.a conftest.o 2>&5
7724c7755
< 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
---
> 10.0,*86*-darwin8*|10.0,*-darwin[912]*)
7728c7759
< 10.*)
---
> 10.*|11.*)
8820a8852,8857
> # flang / f18. f95 an alias for gfortran or flang on Debian
> flang* | f18* | f95*)
> lt_prog_compiler_wl='-Wl,'
> lt_prog_compiler_pic='-fPIC'
> lt_prog_compiler_static='-static'
> ;;
9296a9334,9336
> linux* | k*bsd*-gnu | gnu*)
> link_all_deplibs=no
> ;;
9551c9591
< netbsd*)
---
> netbsd* | netbsdelf*-gnu)
10220a10261
> link_all_deplibs=no
10242c10283
< netbsd*)
---
> netbsd* | netbsdelf*-gnu)
11356a11398,11409
> netbsdelf*-gnu)
> version_type=linux
> need_lib_prefix=no
> need_version=no
> library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
> soname_spec='${libname}${release}${shared_ext}$major'
> shlibpath_var=LD_LIBRARY_PATH
> shlibpath_overrides_runpath=no
> hardcode_into_libs=yes
> dynamic_linker='NetBSD ld.elf_so'
> ;;
>
12365,12366d12417
< PKG_PROG_PKG_CONFIG
< PKG_INSTALLDIR
12367a12419,12553
>
>
>
>
>
>
> if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
> if test -n "$ac_tool_prefix"; then
> # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
> set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
> { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
> $as_echo_n "checking for $ac_word... " >&6; }
> if ${ac_cv_path_PKG_CONFIG+:} false; then :
> $as_echo_n "(cached) " >&6
> else
> case $PKG_CONFIG in
> [\\/]* | ?:[\\/]*)
> ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
> ;;
> *)
> as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
> for as_dir in $PATH
> do
> IFS=$as_save_IFS
> test -z "$as_dir" && as_dir=.
> for ac_exec_ext in '' $ac_executable_extensions; do
> if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
> ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
> $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
> break 2
> fi
> done
> done
> IFS=$as_save_IFS
>
> ;;
> esac
> fi
> PKG_CONFIG=$ac_cv_path_PKG_CONFIG
> if test -n "$PKG_CONFIG"; then
> { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
> $as_echo "$PKG_CONFIG" >&6; }
> else
> { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
> $as_echo "no" >&6; }
> fi
>
>
> fi
> if test -z "$ac_cv_path_PKG_CONFIG"; then
> ac_pt_PKG_CONFIG=$PKG_CONFIG
> # Extract the first word of "pkg-config", so it can be a program name with args.
> set dummy pkg-config; ac_word=$2
> { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
> $as_echo_n "checking for $ac_word... " >&6; }
> if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
> $as_echo_n "(cached) " >&6
> else
> case $ac_pt_PKG_CONFIG in
> [\\/]* | ?:[\\/]*)
> ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
> ;;
> *)
> as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
> for as_dir in $PATH
> do
> IFS=$as_save_IFS
> test -z "$as_dir" && as_dir=.
> for ac_exec_ext in '' $ac_executable_extensions; do
> if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
> ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
> $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
> break 2
> fi
> done
> done
> IFS=$as_save_IFS
>
> ;;
> esac
> fi
> ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
> if test -n "$ac_pt_PKG_CONFIG"; then
> { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
> $as_echo "$ac_pt_PKG_CONFIG" >&6; }
> else
> { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
> $as_echo "no" >&6; }
> fi
>
> if test "x$ac_pt_PKG_CONFIG" = x; then
> PKG_CONFIG=""
> else
> case $cross_compiling:$ac_tool_warned in
> yes:)
> { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
> $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
> ac_tool_warned=yes ;;
> esac
> PKG_CONFIG=$ac_pt_PKG_CONFIG
> fi
> else
> PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
> fi
>
> fi
> if test -n "$PKG_CONFIG"; then
> _pkg_min_version=0.9.0
> { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
> $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
> if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
> { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
> $as_echo "yes" >&6; }
> else
> { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
> $as_echo "no" >&6; }
> PKG_CONFIG=""
> fi
> fi
>
>
>
> # Check whether --with-pkgconfigdir was given.
> if test "${with_pkgconfigdir+set}" = set; then :
> withval=$with_pkgconfigdir;
> else
> with_pkgconfigdir='${libdir}/pkgconfig'
> fi
>
> pkgconfigdir=$with_pkgconfigdir
>
>
>
>
>
12642c12828
< #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
---
> #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
12688c12874
< #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
---
> #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
12712c12898
< #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
---
> #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
12757c12943
< #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
---
> #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
12781c12967
< #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
---
> #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
13722,13723c13908,13978
< PKG_CHECK_MODULES(pkgconfig_XZ,liblzma,
< LIBS="$LIBS $[]pkgconfig_[]XZ[]_LIBS"
---
>
> pkg_failed=no
> { $as_echo "$as_me:${as_lineno-$LINENO}: checking for liblzma" >&5
> $as_echo_n "checking for liblzma... " >&6; }
>
> if test -n "$pkgconfig_XZ_CFLAGS"; then
> pkg_cv_pkgconfig_XZ_CFLAGS="$pkgconfig_XZ_CFLAGS"
> elif test -n "$PKG_CONFIG"; then
> if test -n "$PKG_CONFIG" && \
> { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"liblzma\""; } >&5
> ($PKG_CONFIG --exists --print-errors "liblzma") 2>&5
> ac_status=$?
> $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
> test $ac_status = 0; }; then
> pkg_cv_pkgconfig_XZ_CFLAGS=`$PKG_CONFIG --cflags "liblzma" 2>/dev/null`
> test "x$?" != "x0" && pkg_failed=yes
> else
> pkg_failed=yes
> fi
> else
> pkg_failed=untried
> fi
> if test -n "$pkgconfig_XZ_LIBS"; then
> pkg_cv_pkgconfig_XZ_LIBS="$pkgconfig_XZ_LIBS"
> elif test -n "$PKG_CONFIG"; then
> if test -n "$PKG_CONFIG" && \
> { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"liblzma\""; } >&5
> ($PKG_CONFIG --exists --print-errors "liblzma") 2>&5
> ac_status=$?
> $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
> test $ac_status = 0; }; then
> pkg_cv_pkgconfig_XZ_LIBS=`$PKG_CONFIG --libs "liblzma" 2>/dev/null`
> test "x$?" != "x0" && pkg_failed=yes
> else
> pkg_failed=yes
> fi
> else
> pkg_failed=untried
> fi
>
>
>
> if test $pkg_failed = yes; then
> { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
> $as_echo "no" >&6; }
>
> if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
> _pkg_short_errors_supported=yes
> else
> _pkg_short_errors_supported=no
> fi
> if test $_pkg_short_errors_supported = yes; then
> pkgconfig_XZ_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "liblzma" 2>&1`
> else
> pkgconfig_XZ_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "liblzma" 2>&1`
> fi
> # Put the nasty error message in config.log where it belongs
> echo "$pkgconfig_XZ_PKG_ERRORS" >&5
>
> :
> elif test $pkg_failed = untried; then
> { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
> $as_echo "no" >&6; }
> :
> else
> pkgconfig_XZ_CFLAGS=$pkg_cv_pkgconfig_XZ_CFLAGS
> pkgconfig_XZ_LIBS=$pkg_cv_pkgconfig_XZ_LIBS
> { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
> $as_echo "yes" >&6; }
>
> LIBS="$LIBS $pkgconfig_XZ_LIBS"
13725c13980
< CPPFLAGS="$CPPFLAGS $[]pkgconfig_[]XZ[]_CFLAGS"
---
> CPPFLAGS="$CPPFLAGS $pkgconfig_XZ_CFLAGS"
13727d13981
< ,:)
13728a13983
> fi
13729a13985
>
14741,14742c14997,15067
< PKG_CHECK_MODULES(pkgconfig_fuse3,fuse3 >= 3.2,
< LIBS="$LIBS $[]pkgconfig_[]fuse3[]_LIBS"
---
>
> pkg_failed=no
> { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fuse3 >= 3.2" >&5
> $as_echo_n "checking for fuse3 >= 3.2... " >&6; }
>
> if test -n "$pkgconfig_fuse3_CFLAGS"; then
> pkg_cv_pkgconfig_fuse3_CFLAGS="$pkgconfig_fuse3_CFLAGS"
> elif test -n "$PKG_CONFIG"; then
> if test -n "$PKG_CONFIG" && \
> { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"fuse3 >= 3.2\""; } >&5
> ($PKG_CONFIG --exists --print-errors "fuse3 >= 3.2") 2>&5
> ac_status=$?
> $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
> test $ac_status = 0; }; then
> pkg_cv_pkgconfig_fuse3_CFLAGS=`$PKG_CONFIG --cflags "fuse3 >= 3.2" 2>/dev/null`
> test "x$?" != "x0" && pkg_failed=yes
> else
> pkg_failed=yes
> fi
> else
> pkg_failed=untried
> fi
> if test -n "$pkgconfig_fuse3_LIBS"; then
> pkg_cv_pkgconfig_fuse3_LIBS="$pkgconfig_fuse3_LIBS"
> elif test -n "$PKG_CONFIG"; then
> if test -n "$PKG_CONFIG" && \
> { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"fuse3 >= 3.2\""; } >&5
> ($PKG_CONFIG --exists --print-errors "fuse3 >= 3.2") 2>&5
> ac_status=$?
> $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
> test $ac_status = 0; }; then
> pkg_cv_pkgconfig_fuse3_LIBS=`$PKG_CONFIG --libs "fuse3 >= 3.2" 2>/dev/null`
> test "x$?" != "x0" && pkg_failed=yes
> else
> pkg_failed=yes
> fi
> else
> pkg_failed=untried
> fi
>
>
>
> if test $pkg_failed = yes; then
> { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
> $as_echo "no" >&6; }
>
> if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
> _pkg_short_errors_supported=yes
> else
> _pkg_short_errors_supported=no
> fi
> if test $_pkg_short_errors_supported = yes; then
> pkgconfig_fuse3_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "fuse3 >= 3.2" 2>&1`
> else
> pkgconfig_fuse3_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "fuse3 >= 3.2" 2>&1`
> fi
> # Put the nasty error message in config.log where it belongs
> echo "$pkgconfig_fuse3_PKG_ERRORS" >&5
>
> :
> elif test $pkg_failed = untried; then
> { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
> $as_echo "no" >&6; }
> :
> else
> pkgconfig_fuse3_CFLAGS=$pkg_cv_pkgconfig_fuse3_CFLAGS
> pkgconfig_fuse3_LIBS=$pkg_cv_pkgconfig_fuse3_LIBS
> { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
> $as_echo "yes" >&6; }
>
> LIBS="$LIBS $pkgconfig_fuse3_LIBS"
14744,14748c15069
< CPPFLAGS="$CPPFLAGS $[]pkgconfig_[]fuse3[]_CFLAGS"
< AC_DEFINE([FUSE_USE_VERSION], [32], [Version of FUSE API to use])
< SQ_TRY_FUSE(,[sq_fuse_found=yes],
< [AC_MSG_FAILURE([Can't find FUSE with pkgconfig])])
< ,:)
---
> CPPFLAGS="$CPPFLAGS $pkgconfig_fuse3_CFLAGS"
14749a15071
> $as_echo "#define FUSE_USE_VERSION 32" >>confdefs.h
14751a15074,15075
> sq_fuse_ok=yes
> as_sq_cv_lib=`$as_echo "sq_cv_lib_fuse_""""_""$LIBS" | $as_tr_sh`
14752a15077,15081
> { $as_echo "$as_me:${as_lineno-$LINENO}: checking for FUSE library" >&5
> $as_echo_n "checking for FUSE library... " >&6; }
> if eval \${$as_sq_cv_lib+:} false; then :
> $as_echo_n "(cached) " >&6
> else
14753a15083,15233
> for sq_lib in ''
> do
>
>
>
>
> sq_save_LIBS_2=$LIBS
>
>
> sq_save_CPPFLAGS_2=$CPPFLAGS
>
>
> if test "x$sq_lib" = x; then :
>
> else
> LIBS="$LIBS -l$sq_lib"
> fi
> cat confdefs.h - <<_ACEOF >conftest.$ac_ext
> /* end confdefs.h. */
>
> /* Override any GCC internal prototype to avoid an error.
> Use char because int might match the return type of a GCC
> builtin and then its argument prototype would still apply. */
> #ifdef __cplusplus
> extern "C"
> #endif
> char fuse_get_context ();
> int
> main ()
> {
> return fuse_get_context ();
> ;
> return 0;
> }
> _ACEOF
> if ac_fn_c_try_link "$LINENO"; then :
>
> if test "x$sq_lib" = x; then :
> sq_lib_out="already present"
> else
> sq_lib_out="-l$sq_lib"
> fi
> eval "$as_sq_cv_lib=\$sq_lib_out"
>
> fi
> rm -f core conftest.err conftest.$ac_objext \
> conftest$ac_exeext conftest.$ac_ext
>
>
>
> LIBS=$sq_save_LIBS_2
>
>
>
>
> CPPFLAGS=$sq_save_CPPFLAGS_2
>
>
>
>
>
> if eval \${$as_sq_cv_lib+:} false; then :
> break
> fi
> done
> if eval \${$as_sq_cv_lib+:} false; then :
>
> else
> eval "$as_sq_cv_lib=no"
> fi
>
> fi
> eval ac_res=\$$as_sq_cv_lib
> { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
> $as_echo "$ac_res" >&6; }
> if eval test \"x\$"$as_sq_cv_lib"\" = x"no"; then :
> sq_fuse_ok=no
> fi
>
> if test "x$sq_fuse_ok" = "xno"; then :
>
> else
>
> as_sq_cv_hdr=`$as_echo "sq_cv_header_fuse_""$CPPFLAGS" | $as_tr_sh`
>
> { $as_echo "$as_me:${as_lineno-$LINENO}: checking for FUSE header" >&5
> $as_echo_n "checking for FUSE header... " >&6; }
> if eval \${$as_sq_cv_hdr+:} false; then :
> $as_echo_n "(cached) " >&6
> else
>
> cat confdefs.h - <<_ACEOF >conftest.$ac_ext
> /* end confdefs.h. */
>
> #include <fuse.h>
> #include <fuse_opt.h>
>
> int
> main ()
> {
>
> ;
> return 0;
> }
> _ACEOF
> if ac_fn_c_try_compile "$LINENO"; then :
> eval "$as_sq_cv_hdr=yes"
> else
> eval "$as_sq_cv_hdr=no"
>
> fi
> rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
>
> fi
> eval ac_res=\$$as_sq_cv_hdr
> { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
> $as_echo "$ac_res" >&6; }
> if eval test \"x\$"$as_sq_cv_hdr"\" = x"yes"; then :
>
> else
> sq_fuse_ok=no
> fi
>
>
> fi
>
> if test "x$sq_fuse_ok" = "xno"; then :
> { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
> $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
> as_fn_error $? "Can't find FUSE with pkgconfig
> See \`config.log' for more details" "$LINENO" 5; }
> else
>
> eval sq_lib_res=\$$as_sq_cv_lib
> if test "x$sq_lib_res" = "xalready present"; then :
>
> else
> LIBS="$LIBS $sq_lib_res"
> fi
> sq_fuse_found=yes
>
> fi
>
>
>
> fi
>
>
>
>
>
14815,14816c15295,15365
< PKG_CHECK_MODULES(pkgconfig_fuse,fuse >= 2.6,
< LIBS="$LIBS $[]pkgconfig_[]fuse[]_LIBS"
---
>
> pkg_failed=no
> { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fuse >= 2.6" >&5
> $as_echo_n "checking for fuse >= 2.6... " >&6; }
>
> if test -n "$pkgconfig_fuse_CFLAGS"; then
> pkg_cv_pkgconfig_fuse_CFLAGS="$pkgconfig_fuse_CFLAGS"
> elif test -n "$PKG_CONFIG"; then
> if test -n "$PKG_CONFIG" && \
> { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"fuse >= 2.6\""; } >&5
> ($PKG_CONFIG --exists --print-errors "fuse >= 2.6") 2>&5
> ac_status=$?
> $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
> test $ac_status = 0; }; then
> pkg_cv_pkgconfig_fuse_CFLAGS=`$PKG_CONFIG --cflags "fuse >= 2.6" 2>/dev/null`
> test "x$?" != "x0" && pkg_failed=yes
> else
> pkg_failed=yes
> fi
> else
> pkg_failed=untried
> fi
> if test -n "$pkgconfig_fuse_LIBS"; then
> pkg_cv_pkgconfig_fuse_LIBS="$pkgconfig_fuse_LIBS"
> elif test -n "$PKG_CONFIG"; then
> if test -n "$PKG_CONFIG" && \
> { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"fuse >= 2.6\""; } >&5
> ($PKG_CONFIG --exists --print-errors "fuse >= 2.6") 2>&5
> ac_status=$?
> $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
> test $ac_status = 0; }; then
> pkg_cv_pkgconfig_fuse_LIBS=`$PKG_CONFIG --libs "fuse >= 2.6" 2>/dev/null`
> test "x$?" != "x0" && pkg_failed=yes
> else
> pkg_failed=yes
> fi
> else
> pkg_failed=untried
> fi
>
>
>
> if test $pkg_failed = yes; then
> { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
> $as_echo "no" >&6; }
>
> if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
> _pkg_short_errors_supported=yes
> else
> _pkg_short_errors_supported=no
> fi
> if test $_pkg_short_errors_supported = yes; then
> pkgconfig_fuse_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "fuse >= 2.6" 2>&1`
> else
> pkgconfig_fuse_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "fuse >= 2.6" 2>&1`
> fi
> # Put the nasty error message in config.log where it belongs
> echo "$pkgconfig_fuse_PKG_ERRORS" >&5
>
> :
> elif test $pkg_failed = untried; then
> { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
> $as_echo "no" >&6; }
> :
> else
> pkgconfig_fuse_CFLAGS=$pkg_cv_pkgconfig_fuse_CFLAGS
> pkgconfig_fuse_LIBS=$pkg_cv_pkgconfig_fuse_LIBS
> { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
> $as_echo "yes" >&6; }
>
> LIBS="$LIBS $pkgconfig_fuse_LIBS"
14818,14821c15367
< CPPFLAGS="$CPPFLAGS $[]pkgconfig_[]fuse[]_CFLAGS"
< SQ_TRY_FUSE(,[sq_fuse_found=yes],
< [AC_MSG_FAILURE([Can't find FUSE with pkgconfig])])
< ,:)
---
> CPPFLAGS="$CPPFLAGS $pkgconfig_fuse_CFLAGS"
14822a15369,15370
> sq_fuse_ok=yes
> as_sq_cv_lib=`$as_echo "sq_cv_lib_fuse_""""_""$LIBS" | $as_tr_sh`
14823a15372,15376
> { $as_echo "$as_me:${as_lineno-$LINENO}: checking for FUSE library" >&5
> $as_echo_n "checking for FUSE library... " >&6; }
> if eval \${$as_sq_cv_lib+:} false; then :
> $as_echo_n "(cached) " >&6
> else
14824a15378,15379
> for sq_lib in ''
> do
14826a15382,15528
>
>
> sq_save_LIBS_2=$LIBS
>
>
> sq_save_CPPFLAGS_2=$CPPFLAGS
>
>
> if test "x$sq_lib" = x; then :
>
> else
> LIBS="$LIBS -l$sq_lib"
> fi
> cat confdefs.h - <<_ACEOF >conftest.$ac_ext
> /* end confdefs.h. */
>
> /* Override any GCC internal prototype to avoid an error.
> Use char because int might match the return type of a GCC
> builtin and then its argument prototype would still apply. */
> #ifdef __cplusplus
> extern "C"
> #endif
> char fuse_get_context ();
> int
> main ()
> {
> return fuse_get_context ();
> ;
> return 0;
> }
> _ACEOF
> if ac_fn_c_try_link "$LINENO"; then :
>
> if test "x$sq_lib" = x; then :
> sq_lib_out="already present"
> else
> sq_lib_out="-l$sq_lib"
> fi
> eval "$as_sq_cv_lib=\$sq_lib_out"
>
> fi
> rm -f core conftest.err conftest.$ac_objext \
> conftest$ac_exeext conftest.$ac_ext
>
>
>
> LIBS=$sq_save_LIBS_2
>
>
>
>
> CPPFLAGS=$sq_save_CPPFLAGS_2
>
>
>
>
>
> if eval \${$as_sq_cv_lib+:} false; then :
> break
> fi
> done
> if eval \${$as_sq_cv_lib+:} false; then :
>
> else
> eval "$as_sq_cv_lib=no"
> fi
>
> fi
> eval ac_res=\$$as_sq_cv_lib
> { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
> $as_echo "$ac_res" >&6; }
> if eval test \"x\$"$as_sq_cv_lib"\" = x"no"; then :
> sq_fuse_ok=no
> fi
>
> if test "x$sq_fuse_ok" = "xno"; then :
>
> else
>
> as_sq_cv_hdr=`$as_echo "sq_cv_header_fuse_""$CPPFLAGS" | $as_tr_sh`
>
> { $as_echo "$as_me:${as_lineno-$LINENO}: checking for FUSE header" >&5
> $as_echo_n "checking for FUSE header... " >&6; }
> if eval \${$as_sq_cv_hdr+:} false; then :
> $as_echo_n "(cached) " >&6
> else
>
> cat confdefs.h - <<_ACEOF >conftest.$ac_ext
> /* end confdefs.h. */
>
> #include <fuse.h>
> #include <fuse_opt.h>
>
> int
> main ()
> {
>
> ;
> return 0;
> }
> _ACEOF
> if ac_fn_c_try_compile "$LINENO"; then :
> eval "$as_sq_cv_hdr=yes"
> else
> eval "$as_sq_cv_hdr=no"
>
> fi
> rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
>
> fi
> eval ac_res=\$$as_sq_cv_hdr
> { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
> $as_echo "$ac_res" >&6; }
> if eval test \"x\$"$as_sq_cv_hdr"\" = x"yes"; then :
>
> else
> sq_fuse_ok=no
> fi
>
>
> fi
>
> if test "x$sq_fuse_ok" = "xno"; then :
> { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
> $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
> as_fn_error $? "Can't find FUSE with pkgconfig
> See \`config.log' for more details" "$LINENO" 5; }
> else
>
> eval sq_lib_res=\$$as_sq_cv_lib
> if test "x$sq_lib_res" = "xalready present"; then :
>
> else
> LIBS="$LIBS $sq_lib_res"
> fi
> sq_fuse_found=yes
>
> fi
>
>
>
> fi
>
>
>
>
>
18331d19032
< # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment