case "$target" in
*-darwin*)
CFLAGS="$CFLAGS -DDARWIN -mmacosx-version-min=$(sw_vers -productVersion)"
- LDFLAGS="$LDFLAGS -L/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/lib -mmacosx-version-min=$(sw_vers -productVersion)"
- LIBS="$LIBS -F /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/ -framework DirectoryService"
+ LDFLAGS="$LDFLAGS -mmacosx-version-min=$(sw_vers -productVersion)"
echo "Please be sure to use 'xcrun ./configure ...' so that the tests can find the system header files"
;;
esac
old_CPPFLAGS="$CPPFLAGS"
smart_lib=
smart_ldflags=
-smart_lib_dir="/usr/local/lib /opt/lib"
+smart_lib_dir="/usr/local/lib /opt/lib /opt/homebrew/lib"
if test "x$smart_try_dir" != "x"; then
for try in $smart_try_dir; do
smart_lib="-ltalloc"
smart_ldflags="-L$try -Wl,-rpath,$try"
+ smart_ld_found="$try"
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
printf "%s\n" "yes" >&6; }
break
then :
smart_lib="-ltalloc"
+ smart_ld_found=""
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
printf "%s\n" "yes" >&6; }
smart_lib="-ltalloc"
smart_ldflags="-L$try -Wl,-rpath,$try"
+ smart_ld_found="$try"
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
printf "%s\n" "yes" >&6; }
break
eval "ac_cv_lib_${sm_lib_safe}_${sm_func_safe}=yes"
LIBS="$smart_ldflags $smart_lib $old_LIBS"
SMART_LIBS="$smart_ldflags $smart_lib $SMART_LIBS"
+SMART_LD_FOUND="$smart_ld_found"
fi
if test "x$ac_cv_lib_talloc__talloc" != "xyes"; then
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: talloc library not found. Use --with-talloc-lib-dir=<path>." >&5
printf "%s\n" "$as_me: WARNING: talloc library not found. Use --with-talloc-lib-dir=<path>." >&2;}
- as_fn_error $? "FreeRADIUS requires libtalloc. Please read doc/developers/dependencies.adoc for further instructions." "$LINENO" 5
+ as_fn_error $? "FreeRADIUS requires libtalloc. Please read doc/antora/modules/installation/pages/dependencies.adoc for further instructions." "$LINENO" 5
fi
ac_fn_c_check_func "$LINENO" "_talloc_pooled_object" "ac_cv_func__talloc_pooled_object"
old_CPPFLAGS="$CPPFLAGS"
smart_lib=
smart_ldflags=
-smart_lib_dir="/usr/local/lib /opt/lib"
+smart_lib_dir="/usr/local/lib /opt/lib /opt/homebrew/lib"
if test "x$smart_try_dir" != "x"; then
for try in $smart_try_dir; do
smart_lib="-lkqueue"
smart_ldflags="-L$try -Wl,-rpath,$try"
+ smart_ld_found="$try"
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
printf "%s\n" "yes" >&6; }
break
then :
smart_lib="-lkqueue"
+ smart_ld_found=""
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
printf "%s\n" "yes" >&6; }
smart_lib="-lkqueue"
smart_ldflags="-L$try -Wl,-rpath,$try"
+ smart_ld_found="$try"
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
printf "%s\n" "yes" >&6; }
break
eval "ac_cv_lib_${sm_lib_safe}_${sm_func_safe}=yes"
LIBS="$smart_ldflags $smart_lib $old_LIBS"
SMART_LIBS="$smart_ldflags $smart_lib $SMART_LIBS"
+SMART_LD_FOUND="$smart_ld_found"
fi
if test "x$ac_cv_lib_kqueue_kqueue" != "xyes"; then
old_CPPFLAGS="$CPPFLAGS"
smart_lib=
smart_ldflags=
-smart_lib_dir="/usr/local/lib /opt/lib"
+smart_lib_dir="/usr/local/lib /opt/lib /opt/homebrew/lib"
if test "x$smart_try_dir" != "x"; then
for try in $smart_try_dir; do
smart_lib="-lpcap"
smart_ldflags="-L$try -Wl,-rpath,$try"
+ smart_ld_found="$try"
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
printf "%s\n" "yes" >&6; }
break
then :
smart_lib="-lpcap"
+ smart_ld_found=""
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
printf "%s\n" "yes" >&6; }
smart_lib="-lpcap"
smart_ldflags="-L$try -Wl,-rpath,$try"
+ smart_ld_found="$try"
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
printf "%s\n" "yes" >&6; }
break
eval "ac_cv_lib_${sm_lib_safe}_${sm_func_safe}=yes"
LIBS="$smart_ldflags $smart_lib $old_LIBS"
SMART_LIBS="$smart_ldflags $smart_lib $SMART_LIBS"
+SMART_LD_FOUND="$smart_ld_found"
fi
if test "x$ac_cv_lib_pcap_pcap_open_live" != "xyes"; then
old_CPPFLAGS="$CPPFLAGS"
smart_lib=
smart_ldflags=
-smart_lib_dir="/usr/local/lib /opt/lib"
+smart_lib_dir="/usr/local/lib /opt/lib /opt/homebrew/lib"
if test "x$smart_try_dir" != "x"; then
for try in $smart_try_dir; do
smart_lib="-lcollectdclient"
smart_ldflags="-L$try -Wl,-rpath,$try"
+ smart_ld_found="$try"
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
printf "%s\n" "yes" >&6; }
break
then :
smart_lib="-lcollectdclient"
+ smart_ld_found=""
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
printf "%s\n" "yes" >&6; }
smart_lib="-lcollectdclient"
smart_ldflags="-L$try -Wl,-rpath,$try"
+ smart_ld_found="$try"
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
printf "%s\n" "yes" >&6; }
break
eval "ac_cv_lib_${sm_lib_safe}_${sm_func_safe}=yes"
LIBS="$smart_ldflags $smart_lib $old_LIBS"
SMART_LIBS="$smart_ldflags $smart_lib $SMART_LIBS"
+SMART_LD_FOUND="$smart_ld_found"
fi
if test "x$ac_cv_lib_collectdclient_lcc_connect" != "xyes"; then
old_CPPFLAGS="$CPPFLAGS"
smart_lib=
smart_ldflags=
-smart_lib_dir="/usr/local/lib /opt/lib"
+smart_lib_dir="/usr/local/lib /opt/lib /opt/homebrew/lib"
if test "x$smart_try_dir" != "x"; then
for try in $smart_try_dir; do
smart_lib="-lcap"
smart_ldflags="-L$try -Wl,-rpath,$try"
+ smart_ld_found="$try"
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
printf "%s\n" "yes" >&6; }
break
then :
smart_lib="-lcap"
+ smart_ld_found=""
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
printf "%s\n" "yes" >&6; }
smart_lib="-lcap"
smart_ldflags="-L$try -Wl,-rpath,$try"
+ smart_ld_found="$try"
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
printf "%s\n" "yes" >&6; }
break
eval "ac_cv_lib_${sm_lib_safe}_${sm_func_safe}=yes"
LIBS="$smart_ldflags $smart_lib $old_LIBS"
SMART_LIBS="$smart_ldflags $smart_lib $SMART_LIBS"
+SMART_LD_FOUND="$smart_ld_found"
fi
if test "x$ac_cv_lib_cap_cap_get_proc" != "xyes"; then
old_CPPFLAGS="$CPPFLAGS"
smart_lib=
smart_ldflags=
-smart_lib_dir="/usr/local/lib /opt/lib"
+smart_lib_dir="/usr/local/lib /opt/lib /opt/homebrew/lib"
if test "x$smart_try_dir" != "x"; then
for try in $smart_try_dir; do
smart_lib="-lprofiler"
smart_ldflags="-L$try -Wl,-rpath,$try"
+ smart_ld_found="$try"
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
printf "%s\n" "yes" >&6; }
break
then :
smart_lib="-lprofiler"
+ smart_ld_found=""
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
printf "%s\n" "yes" >&6; }
smart_lib="-lprofiler"
smart_ldflags="-L$try -Wl,-rpath,$try"
+ smart_ld_found="$try"
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
printf "%s\n" "yes" >&6; }
break
eval "ac_cv_lib_${sm_lib_safe}_${sm_func_safe}=yes"
LIBS="$smart_ldflags $smart_lib $old_LIBS"
SMART_LIBS="$smart_ldflags $smart_lib $SMART_LIBS"
+SMART_LD_FOUND="$smart_ld_found"
fi
if test "x$ac_cv_lib_profiler_ProfilerStart" != "xyes"; then
old_CPPFLAGS="$CPPFLAGS"
smart_lib=
smart_ldflags=
-smart_lib_dir="/usr/local/lib /opt/lib"
+smart_lib_dir="/usr/local/lib /opt/lib /opt/homebrew/lib"
if test "x$smart_try_dir" != "x"; then
for try in $smart_try_dir; do
smart_lib="-lsystemd"
smart_ldflags="-L$try -Wl,-rpath,$try"
+ smart_ld_found="$try"
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
printf "%s\n" "yes" >&6; }
break
then :
smart_lib="-lsystemd"
+ smart_ld_found=""
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
printf "%s\n" "yes" >&6; }
smart_lib="-lsystemd"
smart_ldflags="-L$try -Wl,-rpath,$try"
+ smart_ld_found="$try"
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
printf "%s\n" "yes" >&6; }
break
eval "ac_cv_lib_${sm_lib_safe}_${sm_func_safe}=yes"
LIBS="$smart_ldflags $smart_lib $old_LIBS"
SMART_LIBS="$smart_ldflags $smart_lib $SMART_LIBS"
+SMART_LD_FOUND="$smart_ld_found"
fi
if test "x$ac_cv_lib_systemd_sd_notify" != "xyes"; then
old_CPPFLAGS="$CPPFLAGS"
smart_lib=
smart_ldflags=
-smart_lib_dir="/usr/local/lib /opt/lib"
+smart_lib_dir="/usr/local/lib /opt/lib /opt/homebrew/lib"
if test "x$smart_try_dir" != "x"; then
for try in $smart_try_dir; do
smart_lib="-lsystemd"
smart_ldflags="-L$try -Wl,-rpath,$try"
+ smart_ld_found="$try"
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
printf "%s\n" "yes" >&6; }
break
then :
smart_lib="-lsystemd"
+ smart_ld_found=""
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
printf "%s\n" "yes" >&6; }
smart_lib="-lsystemd"
smart_ldflags="-L$try -Wl,-rpath,$try"
+ smart_ld_found="$try"
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
printf "%s\n" "yes" >&6; }
break
eval "ac_cv_lib_${sm_lib_safe}_${sm_func_safe}=yes"
LIBS="$smart_ldflags $smart_lib $old_LIBS"
SMART_LIBS="$smart_ldflags $smart_lib $SMART_LIBS"
+SMART_LD_FOUND="$smart_ld_found"
fi
if test "x$ac_cv_lib_systemd_sd_watchdog_enabled" != "xyes"; then
ac_safe=`echo "talloc.h" | sed 'y%./+-%__pm%'`
old_CPPFLAGS="$CPPFLAGS"
smart_include=
-smart_include_dir="/usr/local/include /opt/include"
+smart_include_dir="/usr/local/include /opt/include /opt/homebrew/include"
_smart_try_dir=
_smart_include_dir=
ac_safe=`echo "sys/event.h" | sed 'y%./+-%__pm%'`
old_CPPFLAGS="$CPPFLAGS"
smart_include=
-smart_include_dir="/usr/local/include /opt/include"
+smart_include_dir="/usr/local/include /opt/include /opt/homebrew/include"
_smart_try_dir=
_smart_include_dir=
old_CPPFLAGS="$CPPFLAGS"
smart_lib=
smart_ldflags=
-smart_lib_dir="/usr/local/lib /opt/lib"
+smart_lib_dir="/usr/local/lib /opt/lib /opt/homebrew/lib"
if test "x$smart_try_dir" != "x"; then
for try in $smart_try_dir; do
smart_lib="-lcrypto"
smart_ldflags="-L$try -Wl,-rpath,$try"
+ smart_ld_found="$try"
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
printf "%s\n" "yes" >&6; }
break
then :
smart_lib="-lcrypto"
+ smart_ld_found=""
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
printf "%s\n" "yes" >&6; }
smart_lib="-lcrypto"
smart_ldflags="-L$try -Wl,-rpath,$try"
+ smart_ld_found="$try"
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
printf "%s\n" "yes" >&6; }
break
eval "ac_cv_lib_${sm_lib_safe}_${sm_func_safe}=yes"
LIBS="$smart_ldflags $smart_lib $old_LIBS"
SMART_LIBS="$smart_ldflags $smart_lib $SMART_LIBS"
+SMART_LD_FOUND="$smart_ld_found"
fi
if test "x$ac_cv_lib_crypto_DH_new" = "xyes"; then
OPENSSL_LIBS="$smart_lib"
OPENSSL_LDFLAGS="$smart_ldflags"
+ smart_try_dir="${SMART_LD_FOUND}"
sm_lib_safe=`echo "ssl" | sed 'y%./+-%__p_%'`
old_CPPFLAGS="$CPPFLAGS"
smart_lib=
smart_ldflags=
-smart_lib_dir="/usr/local/lib /opt/lib"
+smart_lib_dir="/usr/local/lib /opt/lib /opt/homebrew/lib"
if test "x$smart_try_dir" != "x"; then
for try in $smart_try_dir; do
smart_lib="-lssl"
smart_ldflags="-L$try -Wl,-rpath,$try"
+ smart_ld_found="$try"
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
printf "%s\n" "yes" >&6; }
break
then :
smart_lib="-lssl"
+ smart_ld_found=""
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
printf "%s\n" "yes" >&6; }
smart_lib="-lssl"
smart_ldflags="-L$try -Wl,-rpath,$try"
+ smart_ld_found="$try"
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
printf "%s\n" "yes" >&6; }
break
eval "ac_cv_lib_${sm_lib_safe}_${sm_func_safe}=yes"
LIBS="$smart_ldflags $smart_lib $old_LIBS"
SMART_LIBS="$smart_ldflags $smart_lib $SMART_LIBS"
+SMART_LD_FOUND="$smart_ld_found"
fi
if test "x$ac_cv_lib_ssl_SSL_new" != "xyes"; then
ac_safe=`echo "openssl/ssl.h" | sed 'y%./+-%__pm%'`
old_CPPFLAGS="$CPPFLAGS"
smart_include=
-smart_include_dir="/usr/local/include /opt/include"
+smart_include_dir="/usr/local/include /opt/include /opt/homebrew/include"
_smart_try_dir=
_smart_include_dir=
ac_safe=`echo "pcap.h" | sed 'y%./+-%__pm%'`
old_CPPFLAGS="$CPPFLAGS"
smart_include=
-smart_include_dir="/usr/local/include /opt/include"
+smart_include_dir="/usr/local/include /opt/include /opt/homebrew/include"
_smart_try_dir=
_smart_include_dir=
ac_safe=`echo "collectd/client.h" | sed 'y%./+-%__pm%'`
old_CPPFLAGS="$CPPFLAGS"
smart_include=
-smart_include_dir="/usr/local/include /opt/include"
+smart_include_dir="/usr/local/include /opt/include /opt/homebrew/include"
_smart_try_dir=
_smart_include_dir=
ac_safe=`echo "sys/capability.h" | sed 'y%./+-%__pm%'`
old_CPPFLAGS="$CPPFLAGS"
smart_include=
-smart_include_dir="/usr/local/include /opt/include"
+smart_include_dir="/usr/local/include /opt/include /opt/homebrew/include"
_smart_try_dir=
_smart_include_dir=
ac_safe=`echo "gperftools/profiler.h" | sed 'y%./+-%__pm%'`
old_CPPFLAGS="$CPPFLAGS"
smart_include=
-smart_include_dir="/usr/local/include /opt/include"
+smart_include_dir="/usr/local/include /opt/include /opt/homebrew/include"
_smart_try_dir=
_smart_include_dir=
ac_safe=`echo "systemd/sd-daemon.h" | sed 'y%./+-%__pm%'`
old_CPPFLAGS="$CPPFLAGS"
smart_include=
-smart_include_dir="/usr/local/include /opt/include"
+smart_include_dir="/usr/local/include /opt/include /opt/homebrew/include"
_smart_try_dir=
_smart_include_dir=
ac_safe=`echo "gnumake.h" | sed 'y%./+-%__pm%'`
old_CPPFLAGS="$CPPFLAGS"
smart_include=
-smart_include_dir="/usr/local/include /opt/include"
+smart_include_dir="/usr/local/include /opt/include /opt/homebrew/include"
_smart_try_dir=
_smart_include_dir=
ac_safe=`echo "execinfo.h" | sed 'y%./+-%__pm%'`
old_CPPFLAGS="$CPPFLAGS"
smart_include=
-smart_include_dir="/usr/local/include /opt/include"
+smart_include_dir="/usr/local/include /opt/include /opt/homebrew/include"
_smart_try_dir=
_smart_include_dir=
old_CPPFLAGS="$CPPFLAGS"
smart_lib=
smart_ldflags=
-smart_lib_dir="/usr/local/lib /opt/lib"
+smart_lib_dir="/usr/local/lib /opt/lib /opt/homebrew/lib"
if test "x$smart_try_dir" != "x"; then
for try in $smart_try_dir; do
smart_lib="-lexecinfo"
smart_ldflags="-L$try -Wl,-rpath,$try"
+ smart_ld_found="$try"
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
printf "%s\n" "yes" >&6; }
break
then :
smart_lib="-lexecinfo"
+ smart_ld_found=""
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
printf "%s\n" "yes" >&6; }
smart_lib="-lexecinfo"
smart_ldflags="-L$try -Wl,-rpath,$try"
+ smart_ld_found="$try"
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
printf "%s\n" "yes" >&6; }
break
eval "ac_cv_lib_${sm_lib_safe}_${sm_func_safe}=yes"
LIBS="$smart_ldflags $smart_lib $old_LIBS"
SMART_LIBS="$smart_ldflags $smart_lib $SMART_LIBS"
+SMART_LD_FOUND="$smart_ld_found"
fi
fi
ac_safe=`echo "pcre2.h" | sed 'y%./+-%__pm%'`
old_CPPFLAGS="$CPPFLAGS"
smart_include=
-smart_include_dir="/usr/local/include /opt/include"
+smart_include_dir="/usr/local/include /opt/include /opt/homebrew/include"
_smart_try_dir=
_smart_include_dir=
old_CPPFLAGS="$CPPFLAGS"
smart_lib=
smart_ldflags=
-smart_lib_dir="/usr/local/lib /opt/lib"
+smart_lib_dir="/usr/local/lib /opt/lib /opt/homebrew/lib"
if test "x$smart_try_dir" != "x"; then
for try in $smart_try_dir; do
smart_lib="-lpcre2-8"
smart_ldflags="-L$try -Wl,-rpath,$try"
+ smart_ld_found="$try"
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
printf "%s\n" "yes" >&6; }
break
then :
smart_lib="-lpcre2-8"
+ smart_ld_found=""
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
printf "%s\n" "yes" >&6; }
smart_lib="-lpcre2-8"
smart_ldflags="-L$try -Wl,-rpath,$try"
+ smart_ld_found="$try"
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
printf "%s\n" "yes" >&6; }
break
eval "ac_cv_lib_${sm_lib_safe}_${sm_func_safe}=yes"
LIBS="$smart_ldflags $smart_lib $old_LIBS"
SMART_LIBS="$smart_ldflags $smart_lib $SMART_LIBS"
+SMART_LD_FOUND="$smart_ld_found"
fi
if test "x$ac_cv_lib_pcre2_8_pcre2_compile_8" = "xyes"; then
ac_safe=`echo "pcre.h" | sed 'y%./+-%__pm%'`
old_CPPFLAGS="$CPPFLAGS"
smart_include=
-smart_include_dir="/usr/local/include /opt/include"
+smart_include_dir="/usr/local/include /opt/include /opt/homebrew/include"
_smart_try_dir=
_smart_include_dir=
old_CPPFLAGS="$CPPFLAGS"
smart_lib=
smart_ldflags=
-smart_lib_dir="/usr/local/lib /opt/lib"
+smart_lib_dir="/usr/local/lib /opt/lib /opt/homebrew/lib"
if test "x$smart_try_dir" != "x"; then
for try in $smart_try_dir; do
smart_lib="-lpcre"
smart_ldflags="-L$try -Wl,-rpath,$try"
+ smart_ld_found="$try"
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
printf "%s\n" "yes" >&6; }
break
then :
smart_lib="-lpcre"
+ smart_ld_found=""
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
printf "%s\n" "yes" >&6; }
smart_lib="-lpcre"
smart_ldflags="-L$try -Wl,-rpath,$try"
+ smart_ld_found="$try"
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
printf "%s\n" "yes" >&6; }
break
eval "ac_cv_lib_${sm_lib_safe}_${sm_func_safe}=yes"
LIBS="$smart_ldflags $smart_lib $old_LIBS"
SMART_LIBS="$smart_ldflags $smart_lib $SMART_LIBS"
+SMART_LD_FOUND="$smart_ld_found"
fi
if test "x$ac_cv_lib_pcre_pcre_compile" = "xyes"; then
ac_safe=`echo "regex.h" | sed 'y%./+-%__pm%'`
old_CPPFLAGS="$CPPFLAGS"
smart_include=
-smart_include_dir="/usr/local/include /opt/include"
+smart_include_dir="/usr/local/include /opt/include /opt/homebrew/include"
_smart_try_dir=
_smart_include_dir=