/[gentoo-src]/ufed/configure
Gentoo

Contents of /ufed/configure

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Wed Oct 12 21:10:24 2005 UTC (8 years, 10 months ago) by truedfx
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +14 -16 lines
Make configure script work and get rid of some warnings

1 #!/bin/sh
2 CC="${CC-cc}"
3 case "$(${CC} -v 2>&1)" in
4 *"gcc version 2."*)
5 CFLAGS="-ansi -pedantic -Wall -W ";;
6 *"gcc version 3."[0-3]*)
7 CFLAGS="-std=c99 -pedantic -Wall -W ";;
8 *"gcc version"*)
9 CFLAGS="-std=c99 -pedantic -Wall -Wextra ";;
10 *)
11 case "$(${CC} --version 2>&1)" in
12 *"(ICC)"*)
13 # 981: unspecified order of evaluation
14 CFLAGS="-c99 -strict-ansi -Wall -wd981 ";;
15 *)
16 CFLAGS="";;
17 esac
18 esac
19 sed -e "s/\$(CFLAGS).*-D/\$(CFLAGS) ${CFLAGS}-D/" Makefile > Makefile.tmp &&
20 mv -f Makefile.tmp Makefile

  ViewVC Help
Powered by ViewVC 1.1.20