moretension / duti

A command-line tool to select default applications for document types and URL schemes on Mac OS X
Other
1.41k stars 66 forks source link

`configure` missing on 1.5.4 release #28

Open jjarava opened 6 years ago

jjarava commented 6 years ago

Hi!

Just found the project, but the latest release (1.5.4) doesn't have a configure script to run as per the README.

Copying the configure script found on the previous release (1.5.3, from 2014!) quite predictably, fails, with the error configure: error: darwin17.4.0 is not a supported system

$ ./configure
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for a BSD-compatible install... /usr/bin/install -c
checking build system type... i386-apple-darwin17.4.0
checking host system type... i386-apple-darwin17.4.0
checking target system type... i386-apple-darwin17.4.0
checking which SDK to use... configure: error: darwin17.4.0 is not a supported system

I'm using High Sierra:

$ sw_vers
ProductName:    Mac OS X
ProductVersion: 10.13.3
BuildVersion:   17D102

Which makes it a bit "hard to use"...

Thanks!

zbits commented 5 years ago

You can generate it with the autoconf command line tool. If you don't have autoconf:

https://gist.github.com/justinbellamy/2672db1c78f024f2d4fe