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 @@ -5366,10 +5366,20 @@ $as_echo "none" >&6; }
5366
5366
fi
5367
5367
rm -f conftest.c conftest.out
5368
5368
5369
- if test x$PLATFORM_TRIPLET != xdarwin; then
5370
- MULTIARCH=$($CC --print-multiarch 2>/dev/null)
5371
- fi
5369
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for multiarch" >&5
5370
+ $as_echo_n "checking for multiarch... " >&6; }
5371
+ case $ac_sys_system in #(
5372
+ Darwin*) :
5373
+ MULTIARCH="" ;; #(
5374
+ FreeBSD*) :
5375
+ MULTIARCH="" ;; #(
5376
+ *) :
5377
+ MULTIARCH=$($CC --print-multiarch 2>/dev/null)
5378
+ ;;
5379
+ esac
5372
5380
5381
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MULTIARCH" >&5
5382
+ $as_echo "$MULTIARCH" >&6; }
5373
5383
5374
5384
if test x$PLATFORM_TRIPLET != x && test x$MULTIARCH != x; then
5375
5385
if test x$PLATFORM_TRIPLET != x$MULTIARCH; then
@@ -5379,6 +5389,7 @@ elif test x$PLATFORM_TRIPLET != x && test x$MULTIARCH = x; then
5379
5389
MULTIARCH=$PLATFORM_TRIPLET
5380
5390
fi
5381
5391
5392
+
5382
5393
if test x$MULTIARCH != x; then
5383
5394
MULTIARCH_CPPFLAGS="-DMULTIARCH=\\\"$MULTIARCH\\\""
5384
5395
fi
Original file line number Diff line number Diff line change @@ -882,10 +882,14 @@ else
882
882
fi
883
883
rm -f conftest.c conftest.out
884
884
885
- if test x$PLATFORM_TRIPLET != xdarwin; then
886
- MULTIARCH=$($CC --print-multiarch 2>/dev/null)
887
- fi
888
- AC_SUBST ( MULTIARCH )
885
+ AC_MSG_CHECKING ( [ for multiarch] )
886
+ AS_CASE ( [ $ac_sys_system] ,
887
+ [ Darwin*] , [ MULTIARCH=""] ,
888
+ [ FreeBSD*] , [ MULTIARCH=""] ,
889
+ [ MULTIARCH=$($CC --print-multiarch 2>/dev/null)]
890
+ )
891
+ AC_SUBST ( [ MULTIARCH] )
892
+ AC_MSG_RESULT ( [ $MULTIARCH] )
889
893
890
894
if test x$PLATFORM_TRIPLET != x && test x$MULTIARCH != x; then
891
895
if test x$PLATFORM_TRIPLET != x$MULTIARCH; then
@@ -895,6 +899,7 @@ elif test x$PLATFORM_TRIPLET != x && test x$MULTIARCH = x; then
895
899
MULTIARCH=$PLATFORM_TRIPLET
896
900
fi
897
901
AC_SUBST ( PLATFORM_TRIPLET )
902
+
898
903
if test x$MULTIARCH != x; then
899
904
MULTIARCH_CPPFLAGS="-DMULTIARCH=\\\"$MULTIARCH\\\""
900
905
fi
You can’t perform that action at this time.
0 commit comments