autogen(1) autogen(1) (NAME) autogen - (SYNOPSIS) autogen [-flags] [-flag [value]] [--option-name[[=| ]value]] [ ] AutoGen . (DESCRIPTION) AutoGen . . . . . : (usage). . . (OPTIONS) scheme -L dir, --templ-dirs=dir DIR. . autogen (included) . . -T tpl-file, --override-tpl=tpl-file TPL-FILE . (rc) . . . --definitions=file, --no-definitions FILE. no-definitions . . (rc) . . (stdin) (-) . AutoGen --no-definitions . --shell=shell (shell) . AutoGen Bourne . (SHELL) / . -m, --no-fmemopen (in-mem streams). C "fopencookie(3GNU)" "funopen(3BSD)" AutoGen (anonymous) . . . . . fmemopen(POSIX) (reallocatable) . open_memstream(POSIX) . AutoGen . --equate=char-list . char-list : _-^ . "_-^" . ( Tandem/HP-NonStop Tandem .) -b name, --base-name=name NAME . (rc) . . . . . (stdin) . stdin . . "cd" (pseudo macro) . --source-time, --no-source-time . no-source-time . DNE (stamp) . . (builds) . --writable, --not-writable . not-writable . (writable) . . . --loop-limit=lim . . lim : -1 1 0x1000000 lim : 256 . "FOR x (for-from 1) (for-to -1) (for-by 1)" . . -t seconds, --timeout=seconds SECONDS . . seconds : 0 3600 AutoGen . . . ( ) . . --trace=level (tracing). . (enumeration) . : nothing debug-message server-shell templates block-macros expressions everything . level : nothing AutoGen . : nothing () debug-message "DEBUG" AutoGen ( DEBUG ). server-shell . "" . . templates DEFINE INCLUDE . block-macros . IF FOR CASE WHILE. expressions (expressions) . everything AutoGen TEXT ( ). ``expr.ini'' scheme AutoGen (log) : cd ${top_builddir}/agen5 DEBUG_ENABLED=true bash bootstrap.dir expr.ini make CFLAGS='-g -DDEBUG_ENABLED=1' autogen (search path) . "expr.ini" . --trace-out=file . (append) (|) . --traceout='| less' less . - (>>) . --show-defs . (rc) . . --used-defines . (rc) . ( ) . . AutoGen . . . -C, --core core dump . core . sys/resource.h autogen (soft limit) core (hard limit) core . core . . -s suffix, --skip-suffix=suffix SUFFIX. . (rc) . : select-suffix. . ( .h .c.) --skip-suffix=c . -o suffix, --select-suffix=suffix . . (rc) . . @ref{pseudo macro} info . -D value, --define=value . . AutoGen : AutoGen C #ifdef #ifndef . (index) . define #define . $NAME/ . $NAME NAME . AutoGen putenv(3) . ${NAME@} (getenv "NAME") . . . . AutoGen . -U name-pat, --undefine=name-pat . . (rc) . 'C' AutoGen #ifdef/#ifndef . . -M type, --make-dep [type] make. . (rc) . -M gcc ( ) . .d -MF . . (target) -MT . AutoGen . NB: -MF -M "F " F . -M M F P T Q D G . F Q T P . F . -MT (sentinel file) ( ) . make . Q T ('$') . P (phony rule) clean (clobber) make . . : -MFwhatever-you-like.dep -MTyour-sentinel-file -MP Makefile autogen : -include whatever-you-like.dep clean_targets += clean-your-sentinel-file .sp your-sentinel-file: autogen -MT$@@ -MF$*.d ..... .sp local-clean : rm -f $(clean_targets) . . (-include GNU make << >> . make bootstrap .) DEPENDENCIES_OUTPUT AUTOGEN_MAKE_DEP . . true false yes no 0 1 . () -MT . DEPENDENCIES_OUTPUT false no 0 . --no-abort (abort) . AutoGen core . . AutoGen abort() exit(1) . -?, --help . -!, --more-help (pager). -> [cfgfile], --save-opts [=cfgfile] cfgfile. (OPTION PRESETS) . . -< cfgfile, --load-opts=cfgfile, --no-load-opts cfgfile. no-load-opts config/rc/ini . --no-load-opts . -v [{v|c|n --version [{v|c|n}]}] . `v` . `c` `n` . (OPTION PRESETS) not presettable ( ) () ("RC" ".INI") : AUTOGEN_ AUTOGEN ( ). homerc "$HOME" ".". .autogenrc . (ENVIRONMENT) (OPTION PRESETS) . (FILES) (OPTION PRESETS) . (EXAMPLES) : autogen -Tagman-cmd.tpl -MFman-dep -MTstamp-man opts.def AutoGen . opts.def ( options.tpl ) agman-cmd.tpl . make man-dep ( ) man-stamp . prog-name . texi : autogen -Tagtexi-cmd.tpl -MFtexi-dep -MTtexi-stamp opts.def (EXIT STATUS) : 0 (EXIT_SUCCESS) . 1 (EXIT_OPTION_ERROR) . 2 (EXIT_BAD_TEMPLATE) . 3 (EXIT_BAD_DEFINITIONS) . 4 (EXIT_LOAD_ERROR) . 5 (EXIT_FS_ERROR) . 6 (EXIT_NO_MEM) . 128 (EXIT_SIGNAL) autogen . "%s" segmentation fault . Autogen seg fault AUTOGEN_EXIT_SIGNAL(5) . AutoGen kill(2) . . 66 (EX_NOINPUT) . 70 (EX_SOFTWARE) libopts . autogen- users@lists.sourceforge.net . . (AUTHORS) Bruce Korb (COPYRIGHT) (C) 1992-2018 Bruce Korb . (GNU General Public License) . (REPORTING BUGS) autogen-users@lists.sourceforge.net . (NOTES) AutoGen autogen . GNU AutoGen (5.18.16) 26 Aug 2018 autogen(1)