~oif-team/ubuntu/natty/qt4-x11/xi2.1

« back to all changes in this revision

Viewing changes to config.tests/mac/systemdl.test

  • Committer: Bazaar Package Importer
  • Author(s): Adam Conrad
  • Date: 2005-08-24 04:09:09 UTC
  • Revision ID: james.westby@ubuntu.com-20050824040909-xmxe9jfr4a0w5671
Tags: upstream-4.0.0
ImportĀ upstreamĀ versionĀ 4.0.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/bin/sh
 
2
#
 
3
# usage: $1 is verbose 
 
4
# returns 0 on success
 
5
 
 
6
VERBOSE=$1
 
7
 
 
8
if nm /usr/lib/libSystem.dylib | grep dlopen >/dev/null 2>&1; then
 
9
    if [ "$VERBOSE" = "yes" ]; then
 
10
        echo "Using dlopen as provied by /usr/lib/libSystem.dylib."
 
11
    fi
 
12
    exit 0 
 
13
fi
 
14
if [ "$VERBOSE" = "yes" ]; then
 
15
    echo "Using dlopen from the dlcompat library."
 
16
fi
 
17
exit 1
 
18
 
 
19