38 строки
1.1 KiB
Plaintext
38 строки
1.1 KiB
Plaintext
|
dnl -*- shell-script -*-
|
||
|
dnl
|
||
|
dnl Copyright (c) 2004-2005 The Trustees of Indiana University.
|
||
|
dnl All rights reserved.
|
||
|
dnl Copyright (c) 2004-2005 The Trustees of the University of Tennessee.
|
||
|
dnl All rights reserved.
|
||
|
dnl Copyright (c) 2004-2005 High Performance Computing Center Stuttgart,
|
||
|
dnl University of Stuttgart. All rights reserved.
|
||
|
dnl Copyright (c) 2004-2005 The Regents of the University of California.
|
||
|
dnl All rights reserved.
|
||
|
dnl $COPYRIGHT$
|
||
|
dnl
|
||
|
dnl Additional copyrights may follow
|
||
|
dnl
|
||
|
dnl $HEADER$
|
||
|
dnl
|
||
|
|
||
|
AC_DEFUN([OMPI_CHECK_BROKEN_QSORT],[
|
||
|
AC_MSG_CHECKING([for broken qsort])
|
||
|
|
||
|
result=
|
||
|
define_result=0
|
||
|
case "$host" in
|
||
|
*solaris*)
|
||
|
result="yes (solaris)"
|
||
|
define_result=1
|
||
|
;;
|
||
|
*)
|
||
|
result="no"
|
||
|
define_result=0
|
||
|
;;
|
||
|
esac
|
||
|
|
||
|
AC_MSG_RESULT([$result])
|
||
|
AC_DEFINE_UNQUOTED([OMPI_HAVE_BROKEN_QSORT], [$define_result],
|
||
|
[whether qsort is broken or not])
|
||
|
unset result define_result])dnl
|