possible problems. - New file breakage.c handles (so far) missing functions. - Get rid of some signed/unsigned/const warnings thanks to solaris-cc - Add autoconf/automake input files, and helper scripts to populate missing (but auto-generated) files. This change adds a configure.in and Makefile.am to build everything using autoconf, automake, and libtool - and adds "gunk" scripts to generate the various files those things need (and clean then up again after). This means that "autogunk.sh" needs to be run first on a system with the autotools, but the resulting directory should be "configure"able and compilable on systems without those tools.
		
			
				
	
	
		
			26 lines
		
	
	
		
			891 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			26 lines
		
	
	
		
			891 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
#!/bin/sh
 | 
						|
 | 
						|
# This script tries to follow the "GNU way" w.r.t. the autobits.
 | 
						|
# This does of course generate a number of irritating files.
 | 
						|
# Try to get over it (I am getting there myself).
 | 
						|
 | 
						|
# This should generate any missing crud, and then run autoconf which should turn
 | 
						|
# configure.in into a "./configure" script and "Makefile.am" into a
 | 
						|
# "Makefile.in". Then running "./configure" should turn "Makefile.in" into
 | 
						|
# "Makefile" and should generate the config.h containing your systems various
 | 
						|
# settings. I know ... what a hassle ...
 | 
						|
 | 
						|
# Also, sometimes these autobits things generate bizarre output (looking like
 | 
						|
# errors). So I direct everything "elsewhere" ...
 | 
						|
 | 
						|
(aclocal
 | 
						|
autoheader
 | 
						|
libtoolize --copy --force
 | 
						|
automake --foreign --add-missing --copy
 | 
						|
autoconf) 1> /dev/null 2>&1
 | 
						|
 | 
						|
# Move the "no-autotools" Makefile out of the way
 | 
						|
if test ! -f Makefile.plain; then
 | 
						|
	mv Makefile Makefile.plain
 | 
						|
fi
 |