diff options
author | Guy Harris <guy@alum.mit.edu> | 2008-04-17 16:14:22 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2008-04-17 16:14:22 +0000 |
commit | b2f4f0a228b2fa43a1bde781cdd768f020062d55 (patch) | |
tree | d058d883e682d4f35bd5fc0d67d8de828a649bba /configure.in | |
parent | 331e026f6c500206a9fb5efe07dfbe2e7e248926 (diff) |
If we have xdg-open, define HAVE_XDG_OPEN.
Add a routine "filemanager_open_directory()", which takes a pathname
(presumed to be UTF-8 in Windows and Mac OS X; this might need work for
other UN*Xes) and attempts to open a file manager window for it, using
ShellExecute on Windows, Launch Services on OS X, and, for now, running
xdg-open on other OSes if we have it (should we have a preference for
the file manaager, just as we have one for the Web browser?).
(For that matter, if we have xdg-open, do we need a preference for the
Web browser, or should we just have xdg-open open the Web browser?)
svn path=/trunk/; revision=25097
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/configure.in b/configure.in index 9160945546..1034667a6c 100644 --- a/configure.in +++ b/configure.in @@ -65,6 +65,11 @@ then AC_DEFINE_UNQUOTED(HTML_VIEWER, "htmlview", [HTML viewer, e.g. mozilla]) fi else + # + # XXX - define something to be the full path of xdg-open, so we + # just run that? + # + AC_DEFINE(HAVE_XDG_OPEN, 1, [Define if we have xdg-open]) AC_DEFINE_UNQUOTED(HTML_VIEWER, "xdg-open", [HTML viewer, e.g. mozilla]) fi |