mirror of
https://github.com/verilator/verilator.git
synced 2025-01-05 22:27:35 +00:00
Fix warning in configure sc_main compile. (#4499)
This commit is contained in:
parent
761adf1cf0
commit
f507ee56b0
@ -573,7 +573,7 @@ ACO_SAVE_LIBS="$LIBS"
|
|||||||
LIBS="$LIBS -lsystemc"
|
LIBS="$LIBS -lsystemc"
|
||||||
AC_LINK_IFELSE(
|
AC_LINK_IFELSE(
|
||||||
[AC_LANG_PROGRAM([[#include <systemc.h>
|
[AC_LANG_PROGRAM([[#include <systemc.h>
|
||||||
extern "C" int sc_main(int argc, char* argv[]) {}
|
extern "C" int sc_main(int argc, char* argv[]) { return 0; }
|
||||||
]],[[sc_version()]])],
|
]],[[sc_version()]])],
|
||||||
[_my_result=yes
|
[_my_result=yes
|
||||||
AC_DEFINE([HAVE_SYSTEMC],[1],[Defined if have SystemC library])],
|
AC_DEFINE([HAVE_SYSTEMC],[1],[Defined if have SystemC library])],
|
||||||
|
Loading…
Reference in New Issue
Block a user