2010-06-10  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* Makefile.am (AM_CPPFLAGS): Added -DNO_KPSE_DLL.
	* getopt.h: Now identically copied from ../../texk/kpathsea.

2010-06-08  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* getopt.c, getopt1.c (new): Copied from ../../texk/kpathsea.
	* getopt.h (new): Copied from ../../texk/kpathsea, no DLL.
	* Makefile.am (chktex_SOURCES): Add these new files.

