diff --git a/configure.ac b/configure.ac index c530489f3..6ad04c29c 100644 --- a/configure.ac +++ b/configure.ac @@ -573,7 +573,7 @@ ACO_SAVE_LIBS="$LIBS" LIBS="$LIBS -lsystemc" AC_LINK_IFELSE( [AC_LANG_PROGRAM([[#include - extern "C" int sc_main(int argc, char* argv[]) {} + extern "C" int sc_main(int argc, char* argv[]) { return 0; } ]],[[sc_version()]])], [_my_result=yes AC_DEFINE([HAVE_SYSTEMC],[1],[Defined if have SystemC library])],