JNITasks - Ant Tasks for JNI Projects
Use this task to call the configure script generated by GNU Autoconf.
Attribute | Type | Default | Description |
---|---|---|---|
dir | Dir | ${basedir} | Folder to execute the task in |
script | File | ${basedir}/configure | File to use as the configure script |
quiet | Boolean | False | Disable checking messages |
cache | File | Cache test results in specified file | |
create | Boolean | True | Create output files |
src | Dir | Folder where src files are located | |
prefix | Dir | The installation folder for architecture-independent files | |
exec-prefix | Dir | ${prefix} | The installation folder for architecture-dependent files |
bindir | Dir | ${exec-prefix}/bin | User executables [EPREFIX/bin] |
sbindir | Dir | ${exec-prefix}/sbin | System admin executables |
libexecdir | Dir | ${exec-prefix}/libexec | Program executables |
sysconfdir | Dir | ${prefix}/etc | Read-only single-machine data |
sharedstatedir | Dir | ${prefix}/com | Modifiable architecture-independent data |
localstatedir | Dir | ${prefix}/var | Modifiable single-machine data |
libdir | Dir | ${exec-prefix}/lib | Object code libraries |
includedir | Dir | ${prefix}/include | C header files |
oldincludedir | Dir | /usr/include | C header files for non-gcc |
datarootdir | Dir | ${prefix}/share | Read-only arch.-independent data root |
datadir | Dir | ${datarootdir} | Read-only architecture-independent data |
infodir | Dir | ${datarootdir}/info | Info documentation |
localedir | Dir | ${datarootdir}/locale | Locale-dependent data |
mandir | Dir | ${datarootdir}/man | Manual documentation |
docdir | Dir | Documentation root | |
htmldir | Dir | ${docdir} | HTML documentation |
dvidir | Dir | ${docdir} | DVI documentation |
pdfdir | Dir | ${docdir} | PDF documentation |
psdir | Dir | ${docdir} | PS documentation |
build | String | The machine you are building on | |
host | String | The machine that you are building for | |
target | String | The machine the compiler will produce code for |
Attribute | Type | Default | Description |
---|---|---|---|
prepend | Boolean | False | Use -B instead of the default -I |
<configure dir="${dir.build}" script="${dir.src}/configure" prefix="${dir.install}">
<env key="CFLAGS" value="-02 -g -fomit-frame-pointer" />
<env key="LDFLAGS" value="-Wl,--as-needed,-O1" />
<enable if="ant.build.debug">debug</enable>
<enable>static</enable>
<disable>shared</disable>
<with>pic</with>
</configure>