Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Autotools

Name: Anonymous 2008-12-17 19:11

Do the expert programmers at /prog/ use the GNU Autotools?

Also, are the Autotools really the de facto tools to create software packages?

Name: Anonymous 2008-12-18 8:47

#!/bin/sh

if [ -z $CC ]; CC=c99; fi
if [ -z $CFLAGS ]; CFLAGS="-O2 -D _XOPEN_SOURCE=600 -D _POSIX_C_SOURCE=200112L"; fi
if [ -z $LD ]; LD=ld; fi
if [ -z $LDFLAGS ]; LDFLAGS="-O2 -s"; fi
LIBS="..."

source_files="..."
out_file="..."

CENV=$(getconf POSIX_V6_WIDTH_RESTRICTED_ENVS|head -n 1)

$CC $(getconf ${CENV}_CFLAGS) $CFLAGS $(getconf ${CENV}_LDFLAGS) $LDFLAGS $source_files -o $out_file $(getconf ${CENV}_LIBS) $LIBS

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List