File tree Expand file tree Collapse file tree 3 files changed +24
-7
lines changed Expand file tree Collapse file tree 3 files changed +24
-7
lines changed Original file line number Diff line number Diff line change
1
+ ``configure `` no longer sets ``MULTIARCH `` on FreeBSD platforms.
Original file line number Diff line number Diff line change @@ -5384,10 +5384,20 @@ $as_echo "none" >&6; }
5384
5384
fi
5385
5385
rm -f conftest.c conftest.out
5386
5386
5387
- if test x$PLATFORM_TRIPLET != xdarwin; then
5388
- MULTIARCH=$($CC --print-multiarch 2>/dev/null)
5389
- fi
5387
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for multiarch" >&5
5388
+ $as_echo_n "checking for multiarch... " >&6; }
5389
+ case $ac_sys_system in #(
5390
+ Darwin*) :
5391
+ MULTIARCH="" ;; #(
5392
+ FreeBSD*) :
5393
+ MULTIARCH="" ;; #(
5394
+ *) :
5395
+ MULTIARCH=$($CC --print-multiarch 2>/dev/null)
5396
+ ;;
5397
+ esac
5390
5398
5399
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MULTIARCH" >&5
5400
+ $as_echo "$MULTIARCH" >&6; }
5391
5401
5392
5402
if test x$PLATFORM_TRIPLET != x && test x$MULTIARCH != x; then
5393
5403
if test x$PLATFORM_TRIPLET != x$MULTIARCH; then
@@ -5397,6 +5407,7 @@ elif test x$PLATFORM_TRIPLET != x && test x$MULTIARCH = x; then
5397
5407
MULTIARCH=$PLATFORM_TRIPLET
5398
5408
fi
5399
5409
5410
+
5400
5411
if test x$MULTIARCH != x; then
5401
5412
MULTIARCH_CPPFLAGS="-DMULTIARCH=\\\"$MULTIARCH\\\""
5402
5413
fi
Original file line number Diff line number Diff line change @@ -872,10 +872,14 @@ else
872
872
fi
873
873
rm -f conftest.c conftest.out
874
874
875
- if test x$PLATFORM_TRIPLET != xdarwin; then
876
- MULTIARCH=$($CC --print-multiarch 2>/dev/null)
877
- fi
878
- AC_SUBST ( MULTIARCH )
875
+ AC_MSG_CHECKING ( [ for multiarch] )
876
+ AS_CASE ( [ $ac_sys_system] ,
877
+ [ Darwin*] , [ MULTIARCH=""] ,
878
+ [ FreeBSD*] , [ MULTIARCH=""] ,
879
+ [ MULTIARCH=$($CC --print-multiarch 2>/dev/null)]
880
+ )
881
+ AC_SUBST ( [ MULTIARCH] )
882
+ AC_MSG_RESULT ( [ $MULTIARCH] )
879
883
880
884
if test x$PLATFORM_TRIPLET != x && test x$MULTIARCH != x; then
881
885
if test x$PLATFORM_TRIPLET != x$MULTIARCH; then
@@ -885,6 +889,7 @@ elif test x$PLATFORM_TRIPLET != x && test x$MULTIARCH = x; then
885
889
MULTIARCH=$PLATFORM_TRIPLET
886
890
fi
887
891
AC_SUBST ( PLATFORM_TRIPLET )
892
+
888
893
if test x$MULTIARCH != x; then
889
894
MULTIARCH_CPPFLAGS="-DMULTIARCH=\\\"$MULTIARCH\\\""
890
895
fi
You can’t perform that action at this time.
0 commit comments