common/autoconf/basics.m4

changeset 740
c0fa87863427
parent 726
c31e9dc1fe3d
child 750
f5eb23490e6a
     1.1 --- a/common/autoconf/basics.m4	Tue Jun 18 11:29:34 2013 +0200
     1.2 +++ b/common/autoconf/basics.m4	Tue Jun 18 11:30:36 2013 +0200
     1.3 @@ -363,7 +363,11 @@
     1.4        AC_MSG_ERROR([Cannot specify both --with-devkit and --with-tools-dir at the same time])
     1.5      fi
     1.6      TOOLS_DIR=$with_devkit/bin
     1.7 -    SYS_ROOT=$with_devkit/$host_alias/libc
     1.8 +    if test -d "$with_devkit/$host_alias/libc"; then
     1.9 +      SYS_ROOT=$with_devkit/$host_alias/libc
    1.10 +    elif test -d "$with_devkit/$host/sys-root"; then
    1.11 +      SYS_ROOT=$with_devkit/$host/sys-root
    1.12 +    fi
    1.13    ])
    1.14  
    1.15  ])

mercurial