$NetBSD: patch-Ipopt_configure,v 1.1 2013/11/29 12:59:31 joerg Exp $ --- Ipopt/configure.orig 2013-11-28 03:29:00.000000000 +0000 +++ Ipopt/configure @@ -5180,7 +5180,12 @@ fi done ;; - -[lLR]*) + -R*) + ac_arg="-Wl,$ac_arg" + shift + set X $ac_arg "$@" + ;; + -[lLR]*|-Wl*) ac_exists=false for ac_i in $ac_cv_f77_libs; do if test x"$ac_arg" = x"$ac_i"; then