x11/rc.x11

Fri, 13 Apr 2012 18:48:23 +0200

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Fri, 13 Apr 2012 18:48:23 +0200
changeset 418
680c3f7768b0
permissions
-rw-r--r--

Correct various structure and architecture problems in code including:
use functions from ISO C stdio requires cstdio header,
include sockio header only in platforms where it's present,
touch random number seeder logic on X86-64 platforms as well as IA-32,
and hopefully use all 64 bits of register as it would seem that more
like 'asm("rdtsc" : "=a" (lowtick), "=d" (hitick));' is needed instead.

     1 #!@l_prefix@/bin/openpkg rc
     2 ##
     3 ##  rc.x11 -- Run-Commands
     4 ##
     6 %config
     7     x11_bindir="@x11_bindir@"
     8     x11_incdir="@x11_incdir@"
     9     x11_libdir="@x11_libdir@"
    11 %info -o
    12     echo "X11 Binary  Directory: ${x11_bindir}"
    13     echo "X11 Include Directory: ${x11_incdir}"
    14     echo "X11 Library Directory: ${x11_libdir}"

mercurial