From ae8e51e063294df01b97624d4c981a93808d47a1 Mon Sep 17 00:00:00 2001 From: Rom Walton Date: Wed, 19 Jun 2013 14:43:02 -0400 Subject: [PATCH] Linux: Revert previous change, it did not have the desired effect. --- m4/sah_check_lib.m4 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/m4/sah_check_lib.m4 b/m4/sah_check_lib.m4 index 655e8063af..0adf1d75dd 100644 --- a/m4/sah_check_lib.m4 +++ b/m4/sah_check_lib.m4 @@ -492,7 +492,7 @@ else ## add library-paths from LDFLAGS to beginning of lib-path ldflags_path=`echo $LDFLAGS | sed 's/-l[[^ ]]*//g' | sed 's/-L\([[^ ]]*\)/:\1/g' | sed 's/[[ ]]*//g'` - tmp_dir_list=`echo ${ldflags_path}:${tmp_libpath}:/lib:/usr/lib:/usr/lib/i386-linux-gnu:/usr/lib/x86_64-linux-gnu:/usr/ucb/lib:/usr/local/lib:/opt/misc/lib:${tmp_dir_list} | $AWK -F: '{for (i=1;i<(NF+1);i++) { print $[]i; }}'` + tmp_dir_list=`echo ${ldflags_path}:${tmp_libpath}:/lib:/usr/lib:/usr/ucb/lib:/usr/local/lib:/opt/misc/lib:${tmp_dir_list} | $AWK -F: '{for (i=1;i<(NF+1);i++) { print $[]i; }}'` tmp_lib_name= # now that we know where we are looking, find our library