[prev in list] [next in list] [prev in thread] [next in thread] 

List:       ntp-bugs
Subject:    [ntp:bugs] [Bug 1690] New: Unit tests fails to build on some systems
From:       bugzilla () ntp ! org
Date:       2010-10-31 11:52:42
Message-ID: bug-1690-35 () http ! bugs ! ntp ! org/
[Download RAW message or body]

https://bugs.ntp.org/show_bug.cgi?id=1690

           Summary: Unit tests fails to build on some systems
           Product: ntp
           Version: 4.2.7
          Platform: PC
        OS/Version: Linux
            Status: ASSIGNED
          Severity: normal
          Priority: P5
         Component: sntp
        AssignedTo: karlsson@ntp.org
        ReportedBy: karlsson@ntp.org
                CC: bugs@ntp.org
   Estimated Hours: 0.0


After moving the unit tests to the sntp/ subdir, the building of the tests
fails on some systems (when running make check). This is because of missing
code in sntp/configure.ac.

The fix seems to be to copy two blocks from the main configure.ac to
sntp/configure.ac.

1) From line 55:
AC_AIX
AC_MINIX

2) From line 1256:
ase "$host" in
 *-*-aix[[456]]*)
        # (prr) aix 4.1 doesn't have clock_settime, but in aix 4.3 it's a stub
        # (returning ENOSYS).  I didn't check 4.2.  If, in the future,
        # IBM pulls its thumbs out long enough to implement clock_settime,
        # this conditional will need to change.  Maybe use AC_TRY_RUN
        # instead to try to set the time to itself and check errno.
    ;;
 *)
    AC_SEARCH_LIBS([clock_gettime], [rt])
    AC_CHECK_FUNCS([clock_gettime clock_settime])
    ;;
esac

-- 
Configure bugmail: https://bugs.ntp.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
_______________________________________________
bugs mailing list
bugs@lists.ntp.org
http://lists.ntp.org/listinfo/bugs
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic