Diff

Differences From Artifact [abd6ccb011]:

To Artifact [6f2999f5b1]:


    44     44   	AC_MSG_CHECKING([for how to statically link to libstdc++])
    45     45   
    46     46   	SAVELIBS="${LIBS}"
    47     47   	staticlibcxx=""
    48     48   	for trylink in "-Wl,-Bstatic -lstdc++ -Wl,-Bdynamic" "-Wl,-Bstatic -lCstd -lCrun -Wl,-Bdynamic" "-lstdc++" "-lCstd -lCrun"; do
    49     49   		LIBS="${SAVELIBS} ${trylink}"
    50     50   
    51         -		AC_LINK_IFELSE(, [
           51  +		AC_LINK_IFELSE(AC_LANG_PROGRAM([], []), [
    52     52   			staticlibcxx="${trylink}"
    53     53   
    54     54   			break
    55     55   		])
    56     56   	done
    57     57   	LIBS="${SAVELIBS} ${staticlibcxx}"
    58     58