On Wed, Apr 11, 2018 at 12:28 AM, Igor Korot <[email protected]> wrote:
>>> Is there a way to check for OpenSSL presence?
>>
>> Not sure what you're asking. Are you asking how to determine if you
>> already have OpenSSL built on your machine?
>
> Yes, that's what I was asking...
Easiest way to determine it is to try to compile Git without setting NO_OPENSSL.
> This is what I got trying to do just "make":
>
> MyMac:git-2.17.0 igorkorot$ make
> * new build flags
> CC credential-store.o
> In file included from credential-store.c:1:
> In file included from ./cache.h:9:
> ./gettext.h:17:11: fatal error: 'libintl.h' file not found
> # include <libintl.h>
> ^
> 1 error generated.
This is because you don't have gettext installed. You should be able
to set NO_GETTEXT to work around this.
> And I am also confused. Which file am I suppose to modify here?
>
> MyMac:git-2.17.0 igorkorot$ ls -la conf*
> -rwxr-xr-x@ 1 igorkorot staff 74461 Apr 2 10:13 config.c
> -rwxr-xr-x@ 1 igorkorot staff 9888 Apr 2 10:13 config.h
> -rwxr-xr-x@ 1 igorkorot staff 540 Apr 2 10:13 config.mak.in
> -rwxr-xr-x@ 1 igorkorot staff 16940 Apr 2 10:13 config.mak.uname
> -rwxr-xr-x@ 1 igorkorot staff 37509 Apr 2 10:13 configure.ac
> -rw-r--r-- 1 igorkorot staff 37500 Apr 8 18:52 configure.ac+
You should create a new file named "config.mak". For instance, the
content of your config.mak file might be:
NO_GETTEXT=Yes