diff --git a/autoconf.sh b/autoconf.sh index 7e3a204e9..97685af87 100644 --- a/autoconf.sh +++ b/autoconf.sh @@ -9,7 +9,7 @@ echo "Autoconf in root..." autoconf -for dir in vpip vpi vvp tgt-vvp tgt-fpga libveriuser cadpli +for dir in vpip vpi vvp tgt-vvp tgt-fpga tgt-stub libveriuser cadpli do echo "Autoconf in $dir..." ( cd ./$dir ; autoconf --include=.. ) diff --git a/tgt-stub/.cvsignore b/tgt-stub/.cvsignore index bc089632f..94bc1477c 100644 --- a/tgt-stub/.cvsignore +++ b/tgt-stub/.cvsignore @@ -1,3 +1,7 @@ +*.cache stub.tgt +configure +config.log +config.status Makefile dep diff --git a/tgt-stub/configure.in b/tgt-stub/configure.in new file mode 100644 index 000000000..8d6ea9159 --- /dev/null +++ b/tgt-stub/configure.in @@ -0,0 +1,26 @@ +dnl Process this file with autoconf to produce a configure script. +AC_INIT(stub.c) + +dnl Checks for programs. +AC_PROG_CC + +AC_PROG_INSTALL + +AC_CANONICAL_HOST +# $host + +# Combined check for Microsoft-related bogosities; sets WIN32 if found +AX_WIN32 + +# may modify CPPFLAGS and CFLAGS +AX_CPP_PRECOMP + +# Compiler option for position independent code, needed whan making shared objects. +AX_C_PICFLAG + +# linker options when building a shared library +AX_LD_SHAREDLIB_OPTS + +AX_CPP_IDENT + +AC_OUTPUT(Makefile)