annotate src/gftp.in @ 328:51bb530a100c

2003-12-7 Brian Masney <masneyb@gftp.org> * configure.in acinclude.m4 lib/misc.c - added AC_INTL_PRINTF macro. If the printf family of functions supports %'ld, then HAVE_INTL_PRINTF will be defined. The appropriate version of insert_commas() can be used.
author masneyb
date Sun, 07 Dec 2003 17:25:13 +0000
parents 0fcc6468a0af
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
1 #!/bin/sh
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
2
325
0fcc6468a0af 2003-12-4 Brian Masney <masneyb@gftp.org>
masneyb
parents: 1
diff changeset
3 prefix=@prefix@
0fcc6468a0af 2003-12-4 Brian Masney <masneyb@gftp.org>
masneyb
parents: 1
diff changeset
4 exec_prefix=@exec_prefix@
0fcc6468a0af 2003-12-4 Brian Masney <masneyb@gftp.org>
masneyb
parents: 1
diff changeset
5
0fcc6468a0af 2003-12-4 Brian Masney <masneyb@gftp.org>
masneyb
parents: 1
diff changeset
6 if [ "$DISPLAY " != " " ] && [ -f @bindir@/gftp-gtk ]; then
0fcc6468a0af 2003-12-4 Brian Masney <masneyb@gftp.org>
masneyb
parents: 1
diff changeset
7 exec @bindir@/gftp-gtk ${1+"$@"}
0fcc6468a0af 2003-12-4 Brian Masney <masneyb@gftp.org>
masneyb
parents: 1
diff changeset
8 elif [ -f @bindir@/gftp-text ]; then
0fcc6468a0af 2003-12-4 Brian Masney <masneyb@gftp.org>
masneyb
parents: 1
diff changeset
9 exec @bindir@/gftp-text ${1+"$@"}
1
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
10 else
325
0fcc6468a0af 2003-12-4 Brian Masney <masneyb@gftp.org>
masneyb
parents: 1
diff changeset
11 echo "Error: Can't find gFTP binaries installed in @bindir@"
1
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
12 fi
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
13