Hi,
Curt Sampson said:
That's it. How does one figure out these options?
% ruby -ne 'print if /^ dir_config/ .. /^Return/' README.EXT
dir_config(target[, default_dir])
dir_config(target[, default_include, default_lib])
Parses the command line options and adds the directories specified by
--with-<target>-dir, --with-<target>-include, and/or --with-<target>-lib
to $CFLAGS and/or $LDFLAGS. --with-<target>-dir=/path is equivalent to
--with-<target>-include=/path/include --with-<target>-lib=/path/lib.
Returns an array of the added directories ([include_dir, lib_dir]).
% ruby -ne 'print if /^dir_config/' ext/readline/extconf.rb
dir_config('curses')
dir_config('ncurses')
dir_config('termcap')
dir_config("readline")