/[rdesktop]/sourceforge.net/trunk/rdesktop/configure
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /sourceforge.net/trunk/rdesktop/configure

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 681 by stargo, Tue Mar 9 22:50:16 2004 UTC revision 682 by stargo, Tue Apr 27 09:13:50 2004 UTC
# Line 296  fi Line 296  fi
296    
297    
298  # Platform-specific options  # Platform-specific options
299    cat >conftest.$$.c << EOF
300    #include <stdlib.h>
301    #include <signal.h>
302    int main(int argc, char **argv)
303    {
304            unsigned char test[8] = { 0x11, 0x22, 0x33, 0x44, 0x55, 0x66, 0x77, 0x88 };
305            signal(SIGBUS, exit);
306            signal(SIGABRT, exit);
307            signal(SIGSEGV, exit);
308            if (*((unsigned int *)(test + 1)) != 0x55443322 && *((unsigned int *)(test + 1)) != 0x22334455) {
309                    return 1;
310            }
311            return 0;
312    }
313    EOF
314    $cc -o conftest.$$ conftest.$$.c
315    need_alignment=yes
316    ./conftest.$$ && need_alignment=no
317    if [ "$need_alignment" = "yes" ]; then
318            echo "Architecture needs alignment"
319            echo
320            cflags="$cflags -DNEED_ALIGNMENT"
321    fi
322    rm conftest.$$ conftest.$$.c
323    
324  # strip leading colon from rpath  # strip leading colon from rpath
325  rpath=`echo $rpath |sed 's/^://'`  rpath=`echo $rpath |sed 's/^://'`

Legend:
Removed from v.681  
changed lines
  Added in v.682

  ViewVC Help
Powered by ViewVC 1.1.26