mirror of
https://github.com/php/php-src.git
synced 2025-01-19 18:24:15 +08:00
Use GCC's --print-libgcc-file-name flag to find libgcc's path.
Obtained from: mod_ssl
This commit is contained in:
parent
5da6bf51a4
commit
113b87736b
@ -9,8 +9,9 @@ dnl PHP_LIBGCC_LIBPATH(gcc)
|
||||
dnl Stores the location of libgcc in libgcc_libpath
|
||||
dnl
|
||||
AC_DEFUN(PHP_LIBGCC_LIBPATH,[
|
||||
ac_data="`$1 -v 2>&1|grep specs|sed 's/Reading specs from //'`"
|
||||
libgcc_libpath="`dirname $ac_data`"
|
||||
changequote({,})
|
||||
libgcc_libpath="`$1 --print-libgcc-file-name|sed 's%[^/][^/]*$%%'`"
|
||||
changequote([,])
|
||||
])
|
||||
|
||||
AC_DEFUN(PHP_ARG_ANALYZE,[
|
||||
|
Loading…
Reference in New Issue
Block a user