Changeset 383 for trunk/configure.ac


Ignore:
Timestamp:
Dec 17, 2012 7:22:30 AM (7 years ago)
Author:
kulshres
Message:

correct sematics of --disable-double

Signed-off-by: Kshitij Kulshreshtha <kshitij@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/configure.ac

    r381 r383  
    145145AC_MSG_CHECKING(whether to use single or double precision)
    146146AC_ARG_ENABLE(double,[AS_HELP_STRING([--disable-double],
    147   [disable double precision arithmetic [default=no]])],
    148   [use_float=$enableval],[use_float=no])
    149 
    150 if test x$use_float = xyes ; then
     147  [disable double precision arithmetic [default=enabled]])],
     148  [use_double=$enableval],[use_double=yes])
     149
     150if test x$use_double = xno ; then
    151151  REAL_TYPE=float
    152   AC_MSG_RESULT(float)
    153152else
    154153  REAL_TYPE=double
    155   AC_MSG_RESULT(double)
    156 fi
     154fi
     155AC_MSG_RESULT($REAL_TYPE)
    157156AC_SUBST(REAL_TYPE)
    158157
Note: See TracChangeset for help on using the changeset viewer.