Annotation of /smage/branches/alx-0_7/include/gnuconfig.sminc
Parent Directory
|
Revision Log
Revision 4437 -
(hide annotations)
(download)
Thu Nov 22 15:03:06 2012 UTC (11 years, 7 months ago) by niro
Original Path: smage/branches/alx-0_7/core/include/gnuconfig.sminc
File size: 627 byte(s)
Thu Nov 22 15:03:06 2012 UTC (11 years, 7 months ago) by niro
Original Path: smage/branches/alx-0_7/core/include/gnuconfig.sminc
File size: 627 byte(s)
-import base files for stable distribution
1 | niro | 1923 | # update config.guess and config.sub |
2 | |||
3 | # grab them at: | ||
4 | # http://savannah.gnu.org/cgi-bin/viewcvs/config/config/config.sub | ||
5 | # http://savannah.gnu.org/cgi-bin/viewcvs/config/config/config.guess | ||
6 | |||
7 | gnuconfig-update() | ||
8 | { | ||
9 | local srcdir | ||
10 | |||
11 | srcdir="${SRCDIR}" | ||
12 | [ -n "$1" ] && srcdir="$1" | ||
13 | |||
14 | echo -e "${COLBLUE}*** ${COLGREEN}Updating config.{sub,guess} in ${srcdir}${COLDEFAULT}" | ||
15 | find ${srcdir} -name config.sub -exec \ | ||
16 | install -m0755 ${SMAGESCRIPTSDIR}/include/gnuconfig/config.sub '{}' ';' || return 1 | ||
17 | |||
18 | find ${srcdir} -name config.guess -exec \ | ||
19 | install -m0644 ${SMAGESCRIPTSDIR}/include/gnuconfig/config.guess '{}' ';' || return 1 | ||
20 | } |