|
From: Sam S. <sd...@gn...> - 2011-04-15 19:12:43
|
> * Elliott Slaughter <ryy...@tz...> [2011-04-14 17:43:10 -0700]: > > Here is the unabridged build log: http://pastebin.com/MMkrsEjV please try the appended patch (make sure makemake is _not_ called with --win32gcc) -- Sam Steingold (http://sds.podval.org/) on CentOS release 5.5 (Final) X 11.0.60900031 http://pmw.org.il http://dhimmi.com http://honestreporting.com http://www.PetitionOnline.com/tap12009/ http://palestinefacts.org To understand recursion, one has to understand recursion first. diff -r b573979456c9 src/makemake.in --- a/src/makemake.in Fri Apr 15 13:03:03 2011 -0400 +++ b/src/makemake.in Fri Apr 15 15:10:40 2011 -0400 @@ -591,11 +591,17 @@ fi # feature or bug than to look at various `uname ...` results and list # the buggy systems explicitly. ONLY in this case! +set_win32gcc(){ + HSYSOS=$HSYS + HOS=win32 + COMPILER=gcc +} + case $# in 0 | 1) # Assume we are on Unix (or win32gcc); target=host (not cross-compiling). CROSS=false - if [ -z "$HSYS" ]; then # not win32gcc + if [ -z "$HSYS" ]; then # no --win32gcc # some shells (A/UX and OSF/1) need the parentheses around "arch" below. HSYS=`((arch) 2>/dev/null || uname -m 2>/dev/null) | $tolower` # system name in lowercase HSYSOS=`((uname) 2>/dev/null || arch 2>/dev/null) | $tolower` # OS name in lowercase @@ -605,16 +611,16 @@ case $# in if [ "$HSYS" = sun4m ] ; then HSYS='sun4' fi + HOS='unix' case "$HSYSOS" in # Canonicalize cygwin32/nt and cygwin32/95 to plain cygwin. cygwin*) HSYSOS=cygwin ;; + # Canonicalize mingw32_nt-6.1 - as if --win32gcc + mingw32*) HSYS=win32gcc; set_win32gcc ;; esac - HOS='unix' COMPILER=?? else # win32gcc - HSYSOS=$HSYS - HOS=win32 - COMPILER=gcc + set_win32gcc fi TSYS="$HSYS" TSYSOS="$HSYSOS" |