#!/bin/sh

if getconf GNU_LIBPTHREAD_VERSION | grep -Eq '^NPTL'; then
    if test -x @BINDIR@/@DB_STAT_NAME@.tls; then
	exec @BINDIR@/@DB_STAT_NAME@.tls $*
    fi
fi

exec @BINDIR@/@DB_STAT_NAME@.nontls $*

