http://www2s.biglobe.ne.jp/~vtgf3mpr/os2unix/os2unix.htm
With this tool, os2unix, you can easily compile and make freeware for OS/2 Doing this way will be succesfull in most cases, without OS/2 ported autoconf
x:/source> tar zxvf SOMEWHERE/foo.tar.gz
x:/source/foo> os2unix -all
x:/source/foo> sh configure --help
x:/source/foo> sh configure [SOME_ARGUMENT]
x:/source/foo> make
x:/source/foo> make install prefix=XXX
Source: