From c3054f265b2c0ad606a280139ab75b25864d6a35 Mon Sep 17 00:00:00 2001 From: "Darryl L. Miles" Date: Thu, 17 Oct 2024 21:15:30 +0100 Subject: [PATCH] configure: autoconf regen (2.69) LIBS --- scripts/configure | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/scripts/configure b/scripts/configure index db07eef2..803ad26f 100755 --- a/scripts/configure +++ b/scripts/configure @@ -8678,6 +8678,16 @@ if test $usingX11 ; then gr_libs="$gr_libs \${X11_LDFLAGS}" fi +for find in \ + cairo X11 GL GLU fontconfig freetype +do + if echo "$gr_libs" | grep -q -- "\-l${find}" ; then + LIBS=`echo "$LIBS" | sed -e "s/\-l${find} \?//" | tr -d '\n'` + LIBS=`echo "$LIBS" | sed -e "s/\-l${find} //" | tr -d '\n'` + LIBS=`echo "$LIBS" | sed -e "s/\-l${find}//" | tr -d '\n'` + fi +done + case $target in *-linux*)