mirror of
https://github.com/verilator/verilator.git
synced 2025-01-03 21:27:35 +00:00
50 lines
1.2 KiB
Plaintext
50 lines
1.2 KiB
Plaintext
|
dnl $Id$
|
||
|
dnl DESCRIPTION: Process this file with autoconf to produce a configure script.
|
||
|
dnl Copyright 2003-2006 by Wilson Snyder. This program is free software; you can
|
||
|
dnl redistribute it and/or modify it under the terms of either the GNU
|
||
|
dnl General Public License or the Perl Artistic License.
|
||
|
|
||
|
AC_REVISION($Revision$)dnl
|
||
|
AC_INIT(src/Verilator.cpp)
|
||
|
AC_CONFIG_HEADER(src/config.h)
|
||
|
|
||
|
dnl Special Substitutions
|
||
|
|
||
|
dnl Checks for programs.
|
||
|
CXX=g++
|
||
|
AC_PROG_CC
|
||
|
AC_PROG_CXX
|
||
|
AC_PROG_INSTALL
|
||
|
AC_PATH_PROG(PERL,perl)
|
||
|
|
||
|
dnl Checks for libraries.
|
||
|
|
||
|
dnl Checks for header files.
|
||
|
AC_HEADER_STDC
|
||
|
AC_HEADER_SYS_WAIT
|
||
|
AC_CHECK_HEADERS(fcntl.h unistd.h sys/file.h sys/time.h sys/un.h math.h stdint.h mingw/stdint.h)
|
||
|
|
||
|
dnl Checks for typedefs, structures
|
||
|
AC_CHECK_TYPE(size_t,unsigned int)
|
||
|
AC_CHECK_TYPE(uint_t,unsigned int)
|
||
|
AC_CHECK_TYPE(ulong_t,unsigned long)
|
||
|
AC_TYPE_SIZE_T
|
||
|
AC_STRUCT_TM
|
||
|
|
||
|
dnl Checks for compiler characteristics.
|
||
|
AC_C_INLINE
|
||
|
|
||
|
dnl Checks for library functions.
|
||
|
|
||
|
dnl Checks for system services
|
||
|
|
||
|
dnl Other install directories
|
||
|
pkgdatadir=${datadir}/verilator
|
||
|
AC_SUBST(pkgdatadir)
|
||
|
|
||
|
AC_OUTPUT(Makefile src/Makefile src/Makefile_obj include/verilated.mk)
|
||
|
|
||
|
AC_MSG_RESULT([])
|
||
|
AC_MSG_RESULT([Now type 'make'])
|
||
|
AC_MSG_RESULT([])
|