summaryrefslogtreecommitdiff
path: root/jackd/jackd.c
diff options
context:
space:
mode:
authorpaul <paul@0c269be4-1314-0410-8aa9-9f06e86f4224>2007-02-23 19:23:07 +0000
committerpaul <paul@0c269be4-1314-0410-8aa9-9f06e86f4224>2007-02-23 19:23:07 +0000
commit3612f9d3904e448c522da6a998e5e0bdf7832503 (patch)
treec988a0eb09007a6fa5519379ab3ec3e6541e8042 /jackd/jackd.c
parent3dfe40edae6a782fcbe5aaa1567f4ac48e4bd9c7 (diff)
downloadjack1-3612f9d3904e448c522da6a998e5e0bdf7832503.tar.gz
determine jackd "tmpdir" directory at run time by executing jackd -l; fix spelling mistake in configure.ac relating to clock_gettime()
git-svn-id: svn+ssh://jackaudio.org/trunk/jack@1010 0c269be4-1314-0410-8aa9-9f06e86f4224
Diffstat (limited to 'jackd/jackd.c')
-rw-r--r--jackd/jackd.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/jackd/jackd.c b/jackd/jackd.c
index 718dcb2..a7a411e 100644
--- a/jackd/jackd.c
+++ b/jackd/jackd.c
@@ -507,12 +507,13 @@ main (int argc, char *argv[])
{
jack_driver_desc_t * desc;
- const char *options = "-ad:P:uvshVRTFl:t:mn:p:c:";
+ const char *options = "-ad:P:uvshVRTFlt:mn:p:c:";
struct option long_options[] =
{
{ "driver", 1, 0, 'd' },
{ "verbose", 0, 0, 'v' },
{ "help", 0, 0, 'h' },
+ { "tmpdir-location", 0, 0, 'l' },
{ "port-max", 1, 0, 'p' },
{ "no-mlock", 0, 0, 'm' },
{ "name", 1, 0, 'n' },
@@ -569,6 +570,11 @@ main (int argc, char *argv[])
frame_time_offset = JACK_MAX_FRAMES - atoi(optarg);
break;
+ case 'l':
+ /* special flag to allow libjack to determine jackd's idea of where tmpdir is */
+ printf ("%s\n", jack_tmpdir);
+ exit (0);
+
case 'm':
do_mlock = 0;
break;