git config --global http.proxy http://127.0.0.1:9777

export     LIBS=' -lpsapi -lws2_32 -lmswsock -lshlwapi -static '
git clone https://github.com/stedolan/jq.git
cd jq
git submodule update --init
autoreconf -fi

./configure --prefix=/usr/local \
--with-oniguruma=builtin \
--disable-maintainer-mode \
--disable-shared \
--enable-static

./configure: line 15971: syntax error near unexpected token `fi'
./configure: line 15971: `fi'

if test "x$ac_cv_lib_m_acos" = xyes; then :

    eval "ac_tr_func=HAVE_`echo acos | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
    cat >>confdefs.h <<_ACEOF
#define $ac_tr_func 1
_ACEOF


else  <--- delete this line


fi

else\n\n\nfi replace to fi

make LDFLAGS=-all-static
make install

git config --global --unset http.proxy

 

相关文章:

  • 2021-09-16
  • 2021-06-13
  • 2021-07-04
  • 2021-08-19
  • 2021-07-15
  • 2022-02-21
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-07-03
  • 2021-08-23
  • 2021-05-29
  • 2021-05-23
  • 2022-12-23
  • 2021-07-17
  • 2022-01-28
相关资源
相似解决方案