GNU Autoconf 2.12 for EMX

Table of contents

Introduction

Well I quite like OS/2 and spend much of my free time tweaking Linux programs to work with it. And sometimes I even get it!

What I've found that makes porting more difficult is sometimes building all those makefiles and configuration headers. Under Linux and most *nix like O.S. you would run a configure script that guesses most of your system peculiarities (Name of the C/C++ compiler, which headers and libraries are present, whether a function is broken...). But OS/2 is not Unix --nor even similar--- and there are enough differences to break up those configuration scripts, even if you already have a sh-like shell.

OK, it was the state of the question until now. This port of Autoconf introduces a set of scripts and macro files able to build scripts that work well under OS/2 with EMX using all those wonderful ports of GNU utilities.

Requirements for running Autoconf

First you must already have the EMX ports of this set of programs which you can find in Leo and Hobbes: And you must also be working on a filesystem that allows long file names. This happens under OS/2 with HPFS --and RSX+Win95/NT would do, too, but I haven't got any of them, so I could not test it--.

How it works

Most Linux programs come with a configure script that has the purpose of guessing important system defaults. Currently, most of those scripts are built with a tool named Autoconf, from the FSF, which takes in one or two macro files (configure.in & aclocal.m4) and using the M4 macro processor and another internal set of macro files (mainly acgeneral.m4 & acspecific.m4) creates a third one, named configure. What I've done is tweaking the internal macro files, so that the code they produce is well suited to run under EMX with a filesystem that allows long file names. The most important changes are:

A simple install from the binaries

A not so simple install from the sources

Requisites

The same as Requisites for running plus...

Steps

Using autoconf

Autoconf does not port programs. Most unix C/C++ code has some... let's call them peculiarities, that should be fixed before compiling. For instance: So, what you'll get is a set of makefiles and configuration headers that have to be revised.

News in this package

Important notes

Bug reports

If you miss a feature in autoconf, or find something doesn't work, please e-mail me.

When reporting bugs, follow these steps:

Greettings

I would like to thank Alexander Mai for his many comments on the project, and T.E.Dickey for pointing out some bugs.

Getting it

So... here are GNU Autoconf 2.12 for EMX, sources (400k long) and GNU Autoconf 2.12 for EMX, precompiled (236k long)