projects
/
libfirm
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fixed function implemenation type
[libfirm]
/
aclocal.m4
diff --git
a/aclocal.m4
b/aclocal.m4
index
45c8636
..
5049b22
100644
(file)
--- a/
aclocal.m4
+++ b/
aclocal.m4
@@
-6,11
+6,8
@@
dnl $Id$
dnl Set variable `LD' to the name of the linker program.
dnl Set variable `LD' to the name of the linker program.
-AC_DEFUN(LIBFIRM_PROG_LD,
+AC_DEFUN(LIBFIRM_PROG_LD,
[
dnl AC_REQUIRE([AC_PROG_CC])
dnl AC_REQUIRE([AC_PROG_CC])
-[if test -z "$LD" && test "$GCC" = yes; then
- AC_CHECK_TOOL(LD, gld, "")
-fi
if test -z "$LD"; then
AC_CHECK_TOOL(LD, ld)
fi
if test -z "$LD"; then
AC_CHECK_TOOL(LD, ld)
fi
@@
-28,6
+25,7
@@
int foo() { return 0; }
EOF
if eval $ac_compile && mv conftest.o conftest2.o; then
cat > conftest.$ac_ext <<EOF
EOF
if eval $ac_compile && mv conftest.o conftest2.o; then
cat > conftest.$ac_ext <<EOF
+extern int foo();
int main() { return foo(); }
EOF
if eval $ac_compile; then
int main() { return foo(); }
EOF
if eval $ac_compile; then